Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: How to call a function on each item after a split?

by MrSnrub (Sexton)
on Oct 08, 2012 at 15:42 UTC ( #997841=note: print w/ replies, xml ) Need Help??

Comment on Re^3: How to call a function on each item after a split?
Replies are listed 'Best First'.
Re^4: How to call a function on each item after a split?
by nemesdani (Friar) on Oct 08, 2012 at 18:07 UTC
    Map is shorter, but just as clear. Result is a list -> can be fed directly to another function.

    Just a matter of taste and choice really. TIMTOWTDI after all.

    I'm too lazy to be proud of being impatient.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2015-08-04 06:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (59 votes), past polls