... that pesky LHS > RHS returns empty list rule!
Not exactly pretty, and still won't work with a list, but:
>perl -wMstrict -le "my @ra = qw(a b c d e f g h); my $i = 4; print qq{'$_'} for @ra[$i - @ra .. -1]; " 'e' 'f' 'g' 'h'
In reply to Re^3: Getting range from N..end with list slice
by AnomalousMonk
in thread Getting range from N..end with list slice
by Marshall
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |