in reply to Re^2: why does push not default to $_?
in thread why does push not default to $_?
It's not a good idea. The only thing you could push onto the "stack" is would be the contents of an array. For example, you can't make push $foo; work without breaking push @foo, $x;. The usefulness of the feature is just too limited to compensate for the confusion the its implementation would cause.
|
|---|