in reply to Re^4: why does push not default to $_?
in thread why does push not default to $_?
hmm. i think most people would write that usecase w/grep ...
(i guess there could be other stuff going on in the loop, but then it's more likely that $_ would be named..push @even, grep { !($_%2) } 1 .. 100;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: why does push not default to $_?
by LanX (Saint) on Dec 06, 2008 at 01:11 UTC |
In Section
Seekers of Perl Wisdom