in reply to why does push not default to $_?
I meditated but couldn't find a special reason, do you know any?Simple, because noone found it interesting enough to actually sit down and write a patch. That's how perl5 development works. New features don't get added if enough people want them. New features get added if one person wants it badly enough to write a patch.
So, if you want push to accept a default second argument, write a patch and submit it. I'm not in charge, so I won't have a final say whether it will get in, but if you have the patch, you'll have a pretty good chance. Without the patch and just the wish, chances are almost non-existant.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: why does push not default to $_?
by LanX (Saint) on Dec 06, 2008 at 02:22 UTC | |
by JavaFan (Canon) on Dec 06, 2008 at 02:33 UTC | |
by LanX (Saint) on Dec 06, 2008 at 02:43 UTC | |
by pobocks (Chaplain) on Dec 06, 2008 at 23:36 UTC | |
by LanX (Saint) on Dec 07, 2008 at 02:58 UTC | |
| |
by JavaFan (Canon) on Dec 06, 2008 at 17:27 UTC | |
by LanX (Saint) on Dec 06, 2008 at 19:29 UTC |