I think what you're looking for is this, from "perldoc -f pop":
pop ARRAY
pop Pops and returns the last value of the array, shortening the
array by one element. Has an effect similar to
$ARRAY[$#ARRAY--]
If there are no elements in the array, returns the undefined
value (although this may happen at other times as well). If
ARRAY is omitted, pops the "@ARGV" array in the main
program,
and the "@_" array in subroutines, just like "shift".
-----Original Message-----
From: John Dillon [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 12, 2003 11:44 AM
To: [EMAIL PROTECTED]
Subject: Fw: question
> perldoc
>
8<------8<----------
(snip)
OK. Now, 'array_pop' is the (php) function which deletes an element
from the end of the array. So, where is this on perl (I know that's
unfair, I should go the other way also - see below)? The link on
perldoc says blah blah blah in a rather two dimensional way and fails:
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]