in reply to Re: Re: (Ovid) Re: Warnings, and declaring Hashes of Hashes.
in thread Warnings, and declaring Hashes of Hashes.

The cryptic comment in perlref that you refer to is this behaviour:
$foo{bar}{baz}; # Assumes $foo{bar} exists and is a hash print ref($foo{bar}); # And lo and behold, it is!
And I am with japhy on not knowing why this works. Certainly there is nothing I know of about context that would explain it...

Replies are listed 'Best First'.
Re: Re (tilly) 4: Warnings, and declaring Hashes of Hashes.
by snax (Hermit) on Nov 30, 2000 at 19:06 UTC
    Yeah -- I just saw this in "autovivification" in the Cookbook.

    I still think it's a context example that simply isn't documented. I'm not so curious to go dig in the code, though. Or perhaps I should say I am that curious, but I don't have the time...