Larry Wall wrote:
>Whatever the answer, it probably has to apply to
>
>my @a;
>@a[0] = '1';
>@a[2] = '3';
>print exists $a[1];
>
>as well as the explicit delete case. Are we going to pitch an exception for
>writing beyond the end of an array? That seems a bit anti-Perlish.
>
>
On 14/01/06 00:59, Larry Wall wrote:
That doesn't seem sufficiently general. I'd rather see some context
that can apply a signature to the head of a list and treat the
"unslurped" part as unmatched. Maybe a "for" loop could be taught
to supply such a context, or a "when". Or maybe it's just th