in reply to Re: Trying to slice off all array elements but the last one
in thread Trying to slice off all array elements but the last one

I found $#foo-- to be both clever and scary at the same time. :)

Hanlon's Razor - "Never attribute to malice that which can be adequately explained by stupidity"