On Mon, 06 Dec 2004 12:22:22 GMT, Smylers <[EMAIL PROTECTED]> wrote:

David Green writes:

I guess we could always use prepend/append, pull/pop.

No! C<push> and C<pop> are a well-defined pair, not just in Perl, for dealing with stacks; we should keep those as they are. (And no synonyms, before somebody suggests any!)

Yeah. C<push> and C<pop> are old and glorious ones (asm comes to mind), and C<shift> is too (even DOS .bat files used it, AFAIR), and it's a one of the most used perl5 CORE:: ops (it's more common than other three) .. And I like to shift :)


the only doubtful word for me is unshift. Althought I would be pretty happy if we leave it as is, C<put> is nice and short.

but please don't swap meanings of old ops! if old push suddenly would try to unshift something, it could bring some perl5 programmers to hospital.



Reply via email to