Yes, but for unrelated reasons.
@$ is not a valid name for a lexical.
our @$ = 1..4; would not give an error.
By your logic, splice(@Foo::bar, 0, 1) should give an error because my @Foo::bar = 1..4; gives an error.
In reply to Re^3: Is this a bug in splice?
by ikegami
in thread Is this a bug in splice?
by Limbic~Region
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |