in reply to Re^3: Differ. array and List
in thread Differ. array and List

Uh, write a Perl subroutine that works exactly like pop() without (1) taking a (@) prototype signature, and (2) expecting that $_[0] is an lvalue array reference. I'd like to see the code.

--
[ e d @ h a l l e y . c c ]

Replies are listed 'Best First'.
Re^5: Differ. array and List
by Jasper (Chaplain) on Apr 27, 2005 at 12:15 UTC
    Oops. I don't think I thought about what I was writing, and I certainly don't seem to have read what you wrote. However, from my (probably limited) understanding of @, \@ whatever prototyping, the context is relatively limited and has to emulate a function call. You can't use any of this for method calls, for example. I see what you mean, though.