in reply to why does push not default to $_?
That would break
push @a, @b;
It would push $_ when @b is empty instead of push nothing as expected.
Update: Or maybe not. That's doesn't break print, after all.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: why does push not default to $_?
by LanX (Saint) on Dec 04, 2008 at 21:47 UTC | |
by ikegami (Patriarch) on Dec 04, 2008 at 21:48 UTC | |
by LanX (Saint) on Dec 04, 2008 at 23:25 UTC | |
by ikegami (Patriarch) on Dec 05, 2008 at 02:36 UTC |