John Porter wrote:

> Aldo Calpini wrote:
> 
>>I have to disagree. the corresponding Perl script
>>does not show this behaviour:
>>
> 
> $\ = "\n";
> $#a = 100;
> print scalar(@a);
> $x = $a[10000][0];


This _writes_ to @a[10000] by generating the entry:

P0, 100
P1 = new .PerlArray
P1 = 0
P0[10000] = P1
I0 = P1[0]


> Perl has to autoviv if it has to drill down.


Not on reading.


I vote for the proposed patch.
leo

Reply via email to