in reply to why does push not default to $_?
it feels like you want to print something, that thing being directly related to the context (default arg) makes sense. on the other hand:print;
feels like we want to push @a to some place... like a stack. If there was a default stack than the right action would be to push @a to the default stack. So, I guess it is more about linguistics than implementation,push @a;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: why does push not default to $_?
by plobsing (Friar) on Dec 06, 2008 at 09:35 UTC | |
by ikegami (Patriarch) on Dec 07, 2008 at 17:47 UTC |