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

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











    Results (179 votes), past polls