Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Comma's and blocks

by bsb (Priest)
on Oct 05, 2007 at 02:44 UTC ( #642816=note: print w/ replies, xml ) Need Help??


in reply to Comma's and blocks

The & prototype and a comma causes problems with Data::Rmap:

rmap { print }, 1..3; ^-------- bad news, you get and empty list: rmap(sub { print $_; }), 1..3;


Comment on Re: Comma's and blocks
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2014-09-02 07:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (20 votes), past polls