in reply to "my" variables don't work with symbolic

From perlman:perlref:
Only package variables (globals, even if localized) are visible to symbolic references. Lexical variables (declared with my()) aren't in a symbol table, and thus are invisible to this mechanism.

Which is another good reason to avoid them except in extreme and carefully-controlled circumstances...

stephen

  • Comment on Re: "my" variables don't work with symbolic