Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Cutting repetition in POE coding

by BUU (Prior)
on Nov 26, 2005 at 11:48 UTC ( [id://511869]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if( $condition )
    {
      $kernel->post( $s, event => @args );
      return;
    }
    
  2. or download this
    sub EVENT { $kernel->post( shift, event => @_ ) }; #basically
    
    ...
    
    EVENT $session, "argh" if $condition;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://511869]
Front-paged by Arunbear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2024-03-28 15:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found