"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.
> #Please note that I am trying to access a new non-existing
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 ent
--- Jeff 'japhy' Pinyan <[EMAIL PROTECTED]> wrote:
> On Oct 18, Curtis Poe said:
>
> >> Friends -- Could you briefly explain the term "auto-vivification"? I have
> >> seen this quite a few times in some of the responses.
> >
> >Auto-vivification is trying to access a hash entry that doesn't exit.
On top of what Jeff said, here is an article on autoviv:
http://tlc.perlarchive.com/articles/perl/ug0002.shtml
Cheers,
Kevin
On Thu, Oct 18, 2001 at 07:10:45PM -0400, [EMAIL PROTECTED]
([EMAIL PROTECTED]) said something similar to:
> Friends -- Could you briefly explain the term "auto-vivific
; $val\n\n");
}
-Original Message-
From: Curtis Poe [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 18, 2001 7:23 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: What is Auto-Vivification
--- [EMAIL PROTECTED] wrote:
> Friends -- Could you briefly explain the term "au
On Oct 18, Curtis Poe said:
>> Friends -- Could you briefly explain the term "auto-vivification"? I have
>> seen this quite a few times in some of the responses.
>
>Auto-vivification is trying to access a hash entry that doesn't exit. If that is
>done, the hash
>entry is typically created with
--- [EMAIL PROTECTED] wrote:
> Friends -- Could you briefly explain the term "auto-vivification"? I have
> seen this quite a few times in some of the responses.
>
> A simple example to prove the point would be greatly appreciated.
>
> Thanks,
> Rex
Rex,
Auto-vivification is trying to access a
Friends -- Could you briefly explain the term "auto-vivification"? I have
seen this quite a few times in some of the responses.
A simple example to prove the point would be greatly appreciated.
Thanks,
Rex
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PRO