Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Passing an anonymous block to a method.

by TGI (Parson)
on Mar 11, 2011 at 16:25 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://892689]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (7)
As of 2024-03-28 09:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found