Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    POE::Component::Tie 0.01

    Download button

    No screenshots available
    Downloads: 172  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Larry Shatzer, Jr. | More programs
    Perl Artistic License / FREE
    February 17th, 2010, 23:22 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    POE::Component::Tie description

    Perl extension that sends POE events on tie method invocations

    POE::Component::Tie is a Perl module that allows you to tie a scalar, array, or hash, and then have the tie methods sent as events to a POE session. Since there is no way to know the name of the variable being tied, that information is not passed back to the POE event. You will need to make a POE session and handlers for each variable you want to tie with this package. It is also worth mentioning due to this, some events that may be found in both ARRAY and HASH may pass something different back. See the documentation to know what exactly to expect back.

    SYNOPSIS

     use POE;
     use POE::Component::Tie;

     my $session = POE::Session->create(
     inline_states => {
     _start => sub {},
     STORE => \&handler,
     [...] # place other handlers here you want for tie method events
     }
     );

     my $scalar;
     tie($scalar, "POE::Component::Tie", $session, $poe_kernel);
     $scalar = "Test!";

     $poe_kernel->run();

     sub handler {
     print "Got STORE event";
     }



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    POE events | tie method invocations | Perl module | POE | events | sender

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM