I never said I want that push accepts a default second argument, I just want a consistent and orthogonal behaviour.Then Perl isn't your forte. Perl was designed with the human mind and natural languages in mind - neither of which are consistent or orthogonal. (BTW, my 'you' was a generic you, not specifically aimed at you).
It may be the occupational disease of a mathematician, but I just prefer a predictabel symmetry in logical systems!Guido van Rossum is a mathematician as well. Hence Python. (This isn't meant as a jab at Python - far from it; Python is a nice language, it just has a different philosophy than Perl).
In reply to Re^3: why does push not default to $_?
by JavaFan
in thread why does push not default to $_?
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |