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;
|
---|
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 |
In Section
Meditations