http://www.perlmonks.org?node_id=467608


in reply to Re: How do I make a stack?
in thread How do I make a stack?

Is it significantly more efficient to say $stack[-1] than $stack[$#stack]? I know the former is more concise, but it isn't as immediately intuitive. I wish you could do something like $stack[+] instead to denote top.