Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: make subroutine that takes expression as implicit block as first arg

by kennethk (Abbot)
on Aug 13, 2010 at 19:46 UTC ( #854995=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub mygrep (&@) {
        my $code = shift;
        my @result;
    ...
        }
        @result;
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2023-09-22 05:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?