Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Cutting repetition in POE coding

by robin (Chaplain)
on Nov 26, 2005 at 23:26 UTC ( [id://511961]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Want;
    
    ...
    print "About to call foo()\n";
    my $r = foo();
    print "foo() returned '$r'\n";
    
  2. or download this
    About to call foo()
    Entering foo
    Entering bar
    Leaving bar
    foo() returned 'bar did this'
    
  3. or download this
    sub EVENT {
        $kernel->post( shift, event => @_ );
        Want::double_return();
        return;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://511961]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-03-28 22:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found