in reply to Re: array index -1 oddity
in thread array index -1 oddity

$blah[++$#blah] = 'New element';
Ouch. That has exactly the semantics of:
push @blah, 'New element';
but without all the readable syntax.

Please, never ever ever suggest such an atrocity again!

{grin}

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.