Aaron Sherman wrote:

On Tue, 2003-01-28 at 16:23, Leopold Toetsch wrote:

Arrays (or hashes) don't grow on reading - never.

But for less pure forms of reading:

foo(@a[0]);

auto-vivification will have to happen in some cases. e.g. if foo
requires a lvalue parameter.

A lvalue param is not strictly reading, but here has to happen something differently - yes:

IMHO some sort of proxy could be passed here, saying: "if you write to me, this will be at @a[0]". Or auto-vivify the entry.

leo






Reply via email to