Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Passing an anonymous block to a method.

by TGI (Vicar)
on Mar 11, 2011 at 16:25 UTC ( #892689=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub do_this (&$$;@)  {
        my $code = shift;
    ...
    
    
    do_this {$_ += 1}  do_it => $o,  'fred';
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (12)
As of 2015-03-03 20:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (83 votes), past polls