Paul Kraus <[EMAIL PROTECTED]> wrote:

> Why wouldn't you just return(shift(@myarray)

Yes, this works for a normal(?) array, but I was asking about hashes.

> As far as the hash why are you trying to remove it? I would assume it
> because you don't have a use for it outside of the scope of the
> subroutine. If so why don't you just make the hash scoped to the sub.
> Then you return the value you want and when the sub ends the hash is
> sent to the abyss?

I'm deleting values in an array and a hash.  Any left over values (or keys)
signify an error and incomplete processing.

Thanks

-Jeff

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to