but instead I typed:@a = (0..9) @a[4,5,6] = qw/a b c/
And instead of the result 0123abc789, the actual result was 012345c789. Can anyone explain why the improper slice did what it did?$a[4,5,6] = qw/a b c/
In reply to Improper slicing by schrodycat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |