On Tue, 12 Jun 2001, Charles Lu wrote:
> Functions like pop(), push() allow you to add or remove one element to or
> from a list. Is there a function that allows you to add or remove "X"
> number of elements where "X" > 1?
Actually, push already does that. See the perldoc on it. pop, however,
only pops one element from the end at a time. If you need to pop multiple
elements, use a loop over an array slice.
-- Brett
http://www.chapelperilous.net/btfwk/
------------------------------------------------------------------------
Some people only open up to tell you that they're closed.