in reply to Re^2: autovivication and referencing
in thread autovivication and referencing

No, just say key2 => { ... }, ie use braces instead of parentheses.

perldsc is your friend, look at HASHES OF HASHES.

Replies are listed 'Best First'.
Re^4: autovivication and referencing
by Amblikai (Scribe) on Nov 20, 2013 at 13:53 UTC

    Of Course! Doh!

    Thanks so much!