Re: no autovivify?

2000-08-29 Thread Tom Christiansen
>Tom Christiansen wrote: >> >> If you can no longer grow hashes or arrays on demand, does this >> extend to strings not being able to get bigger, and to integers not >> being able to become floats? >> >> --tom >Exactly. What do you think :closed should do, Tom? Something more like old :ronly

Re: no autovivify?

2000-08-29 Thread David L. Nicol
Tom Christiansen wrote: > > If you can no longer grow hashes or arrays on demand, does this > extend to strings not being able to get bigger, and to integers not > being able to become floats? > > --tom Exactly. What do you think :closed should do, Tom? -- David Ni

Re: no autovivify?

2000-08-29 Thread Tom Christiansen
If you can no longer grow hashes or arrays on demand, does this extend to strings not being able to get bigger, and to integers not being able to become floats? --tom

Re: no autovivify?

2000-08-29 Thread Damian Conway
> today this just came up to my mind, we could have a pragma that > disable `autovivification' of hash and array keys. Consider the > follow code snippet: > > @arr = ( 0..9 ); > %hash = ( a=>1, b=>2 ); > > { > no autovi

Re: no autovivify?

2000-08-29 Thread David L. Nicol
e snippet: > > > > @arr = ( 0..9 ); > > %hash = ( a=>1, b=>2 ); > > > > { > >no autovivify; > >$arr{10}++; # both are > >$hash{c}--; # fatal > > } > > > >this way we can eliminate the need to tie any va

Re: no autovivify?

2000-08-29 Thread Bart Lateur
On Tue, 29 Aug 2000 20:21:39 +0800, Kenneth Lee wrote: >oday this just came up to my mind, we could have a pragma that disable >`autovivification' of hash and array keys. Consider the follow code snippet: > > @arr = ( 0..9 ); > %hash = ( a=>1, b=>2 ); > > {

no autovivify?

2000-08-29 Thread Kenneth Lee
dear all, today this just came up to my mind, we could have a pragma that disable `autovivification' of hash and array keys. Consider the follow code snippet: @arr = ( 0..9 ); %hash = ( a=>1, b=>2 ); { no autovivify; $arr{10}++; # both are $hash{c}--; # fata