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 ( #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 meditating upon the Monastery: (8)
As of 2016-06-30 14:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (396 votes). Check out past polls.