Works for me. I would suggest that you show us (an extract) of your input file.
echo 1 2 3 4 5 6|perl -lane 'print $F[1]..$F[-1]' 23456
Are your columns separated by whitespace?
Update: Of course, this doesn't work, for the reasons given by LanX in his reply to this (too hasty) posting.
In reply to Re: perl one liner print columns 2.. last
by philipbailey
in thread perl one liner print columns 2.. last
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |