in reply to Re^3: why does push not default to $_?
in thread why does push not default to $_?
Here a simple usecase:
for (1 .. 100) { next if $_%2; push @even; }
Cheers Rolf
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: why does push not default to $_?
by davidrw (Prior) on Dec 06, 2008 at 01:01 UTC | |
by LanX (Saint) on Dec 06, 2008 at 01:11 UTC |