in reply to Re^4: specific array in hash of arrays
in thread specific array in hash of arrays

Rats... "autovivication" :-(

Just when I thought I was getting to grips with Perl magic, another piece bites me in the backside... "autovivifying" an rvalue ? ...of course, silly me !

Replies are listed 'Best First'.
Re^6: specific array in hash of arrays
by ikegami (Patriarch) on Oct 09, 2008 at 15:21 UTC

    lvalue or rvalue doesn't matter. Treating an undefined variable as a reference will instantiate the referree and store a reference in the variable.

    Note that it's -> performing the autovivification, not exists.