Found another one...
use List::AllUtils qw( singleton ); my @new6invslice = @array[ singleton 0 .. $#array, @slice_idx ];
If that's not better, we need a better definition of 'better'. (WARNING: possible infinite recursion encountered!)
In reply to Re^2: Inverse slices
by tybalt89
in thread Inverse slices
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |