Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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: (10)
As of 2014-09-23 18:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (239 votes), past polls