Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Things I Don't Use in Perl

by danmcb (Monk)
on Aug 23, 2005 at 18:46 UTC ( #485990=note: print w/ replies, xml ) Need Help??


in reply to Re: Things I Don't Use in Perl
in thread Things I Don't Use in Perl

Almost. Map returns an array, which a foreach doesn't AFAIK. So you can get some useful behaviour with:

join "\n", map{$_->someFunction()} @a;


Comment on Re^2: Things I Don't Use in Perl
Download Code
Replies are listed 'Best First'.
Re^3: Things I Don't Use in Perl
by Anonymous Monk on Aug 24, 2005 at 00:10 UTC
    Map returns a list

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2015-09-01 06:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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













    Results (367 votes), past polls