On 07/02/07, Peter Scott <Peter@psdt.com> wrote:
> in Tk::Trace::store(). The construct $#{@$ref} is evaluated
> differently in perl5.8.8 and your snapshot:
>
> $ perl5.8.8 -le '$x = [3..5]; print $#{@$x}'
> 2
>
> $ perl-30145 -le '$x = [3..5]; print $#{@$x}'
> -1
>
>
> The more conventional construct $#$ref is evaluated
> identically. $#{@$ref} seems like it ought to be illegal, but clearly
> hasn't been hitherto, and I couldn't find anything in your changelog
> saying it had now been outlawed. Case referred to department of
> backward compatibility.
It's illegal with use strict refs. (at least in blead)