Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Cutting repetition in POE coding

by robin (Chaplain)
on Nov 26, 2005 at 23:26 UTC ( #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
Node Status?
node history
Node Type: note [id://511961]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2014-10-24 23:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (138 votes), past polls