"Kipp, James" wrote:

> Autovivication does not happen when you are trying to access the non
> existing key, it happens when you are trying to assing it. So if you have:
> $href->{foo}
> and you do something like
> print $href->{fou}
> it will then create this entry which can be detrimental.

No. Printing $href->{fou} will not create 'fou' entry in %$href.
Printing
$href->{fou}{bar} will create $href->{fou} but not $href->{fou}{bar},
$href->{fou} will be a reference to an empty hash.

- RaFaL Pocztarski, [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to