You could use a do block to isolate the temporary:
$s = join'', 'a'..'z';; @bits = do{ local @_ = split'', $s; @_[3..$#_]};; print @bits;; d e f g h i j k l m n o p q r s t u v w x y z
In reply to Re: Getting range from N..end with list slice
by BrowserUk
in thread Getting range from N..end with list slice
by Marshall
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |