Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

make subroutine that takes expression as implicit block as first arg

by myuserid7 (Scribe)
on Aug 13, 2010 at 19:42 UTC ( [id://854993]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    mygrep($_ % 2 == 0, 0..10)
    
  2. or download this
    grep($_ % 2 == 0, 0..10)
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-23 22:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found