man POE::Resource::Controls () - POE::Resource::Controls -- Switches and Knobs for POE Internals

NAME

POE::Resource::Controls -- Switches and Knobs for POE Internals

SYNOPSIS

    my $new_value = $k->_data_magic_set('kernel.pie' => 'tasty');
    my $value = $k->_data_magic_get('kernel.pie');
    my $ctls = $k->_data_magic_get();
    $k->_data_magic_lock('kernel.pie');
    $k->_data_magic_unlock('kernel.pie');

DESCRIPTION

_data_magic_set

    my $new_value = $k->_data_magic_set('kernel.pie' => 'tasty');

Set a control entry. Returns new value of control entry. If entry value did not change, this entry is locked from writing.

_data_magic_get

    my $value = $k->_data_magic_get('kernel.pie');

Get the value of a control entry. If no entry name is provided, returns a hash reference containing a copy of all control entries.

_data_magic_lock

    $k->_data_magic_lock('kernel.pie');

Lock a control entry from write. This call can only be made from within a POE namespace.

_data_magic_unlock

    $k->_data_magic_unlock('kernel.pie');

Unlock a control entry. This allows the entry to be written to again. This call can only be made from within a POE namespace.

SEE ALSO

See POE::Kernel and POE::API::Ctl.

AUTHORS & COPYRIGHTS

Original Author: Matt Cashner (sungo@pobox.com)

Please see POE for more information about authors and contributors.