in reply to Re^4: $_ functions vs argument-using functions
in thread $_ functions vs argument-using functions
( learned again something new in the universe of Perl's special cases... ;-)
so from a performance point of view there is no reason to prefer map f, 1..3 over map { g($_) } 1..3!
Cheers Rolf
( addicted to the Perl Programming Language)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: $_ functions vs argument-using functions
by tobyink (Canon) on Sep 09, 2013 at 22:40 UTC |