Since -1 is less than zero the range operator [0..-1] doesn't give anything. You'll have to extract the value yourself. eg: @$row[0..$#$row]
In reply to Re: Slicing an array variable with a -1 or any negative number doesn't work
by hippo
in thread Slicing an array variable with a -1 or any negative number doesn't work
by igoryonya
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |