>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(). Wrong. You will see no "baz" element autovivaciously leap lustfully into exists. This is the ONLY thing that exists is checking for. Notice how the same result occurs here: print 1 + $hash{foo}{bar}{baz}; use Data::Dumper; print Dumper \%hash; It's not exists(). Didn't you read what I cited? I swear I've written this a million times. --tom
- Re: RFC 188 (v1) Objects : Private keys and methods Damian Conway
- Re: RFC 188 (v1) Objects : Private keys and methods David E. Wheeler
- Re: RFC 188 (v1) Objects : Private keys and metho... Piers Cawley
- Re: RFC 188 (v1) Objects : Private keys and methods Nathan Wiger
- Re: RFC 188 (v1) Objects : Private keys and methods Damian Conway
- Re: RFC 188 (v1) Objects : Private keys and methods Dave Rolsky
- Re: RFC 188 (v1) Objects : Private keys and methods Jonathan Scott Duff
- Re: RFC 188 (v1) Objects : Private keys and methods Damian Conway
- Re: RFC 188 (v1) Objects : Private keys and metho... Tom Christiansen
- Re: RFC 188 (v1) Objects : Private keys and m... Bart Lateur
- Re: RFC 188 (v1) Objects : Private keys a... Tom Christiansen
- Re: RFC 188 (v1) Objects : Private keys and metho... Jonathan Scott Duff
- Re: RFC 188 (v1) Objects : Private keys and metho... Damian Conway
- Re: RFC 188 (v1) Objects : Private keys and methods Glenn Linderman
- Re: RFC 188 (v1) Objects : Private keys and methods Damian Conway
- Re: RFC 188 (v1) Objects : Private keys and methods Damian Conway
- Re: RFC 188 (v1) Objects : Private keys and methods Damian Conway
- Re: RFC 188 (v1) Objects : Private keys and metho... Tom Christiansen
- Re: RFC 188 (v1) Objects : Private keys and methods Damian Conway
- Re: RFC 188 (v1) Objects : Private keys and metho... Tom Christiansen
- Re: RFC 188 (v1) Objects : Private keys and m... Tom Christiansen