in reply to Re^2: Why nothing from 'strict' or 'warnings' with deref'd undef value?
in thread Why nothing from 'strict' or 'warnings' with deref'd undef value?

That very question just came up on p5p, the Perl developers' mailing list. It turns out that some rvalue operations autovivify and some don't. Spoke Nicolas Clark, the pumpking:

So why are indexing and defined special?
Are they the only exceptions to the exception?

No answer was obtained.

Source: Perl RT 63810

  • Comment on Re^3: Why nothing from 'strict' or 'warnings' with deref'd undef value?

Replies are listed 'Best First'.
Re^4: Why nothing from 'strict' or 'warnings' with deref'd undef value?
by jeremym (Initiate) on Apr 03, 2009 at 16:50 UTC
    Perfect - exactly what I was looking for. Additional examples are even more interesting.

    Thank you for everything.