in reply to Re^2: why does push not default to $_?
in thread why does push not default to $_?

Yeah, I already noticed and updated my node.

The only possible reason I could see if an undue burden on the parser, since it would be the first function to default the second argument. You could send a perl (wishlist) bug report?

Replies are listed 'Best First'.
Re^4: why does push not default to $_?
by LanX (Saint) on Dec 04, 2008 at 23:25 UTC
    hmm, I thought it may be a compiler limitation on the first argument, but split defaults to $_ on its second argument, (' ' on first one)

    I think there is no logical reason!

    Cheers Rolf

      Ok, seems like it's proven there's no technical reason it can't be done.