Re: RFC 188 (v1) Objects : Private keys and methods
[email protected] (Bart Lateur) Wed, 06 Sep 2000 22:28:02 +0200
| Newsgroups | perl.perl6.language.objects |
|---|---|
| Organization | MediaMind |
| Message-ID | <[email protected]> |
On Tue, 05 Sep 2000 19:08:18 -0600, Tom Christiansen wrote:
>> exists (sometimes causes autovivification, which affects C<keys>)
>
>That's not technically accurate--exists never causes autovivification.
print exists $hash{foo}{bar}{baz};
use Data::Dumper;
print Dumper \%hash;
Technically correct or not, there IS some autovivification going on, and
it's due to what's tested in exists().
--
Bart.