Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 browsing the Monastery: (7)
As of 2015-07-30 05:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (270 votes), past polls