* Jonathan E. Paton <[EMAIL PROTECTED]> [2002-11-20 21:15]: > > join ', ', @array[0 .. $bound], @array > $bound ? 'etc' : (); > > No, it's not. In my way the effects on the array are > permanent, although that's probably not useful in this > instance
Point taken. @array = @array[0 .. $bound], @array > $bound ? 'etc' : (); join ', ', @array; :-) > $#array # Gives last index of array, can be assigned to > # which increases or decreases the number of > # elements. > > They didn't learn anything like that from yours... did they? ;-) @array[$min .. $max] # returns a list with all the elements # between and including $array[$min] # and $arrax[max] You don't want to challenge me to nitpicking ;-P -- Regards, Aristotle