While this use of undef works in all perl 5 versions I am aware of, it is in fact not documentedReally? It didn't work on any perl version I tried. For me, ikegami's slice undef trick only undefined the last element in the slice.
In reply to Re^3: Inverse slices
by Anonymous Monk
in thread Inverse slices
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |