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
In reply to Re: "my" variables don't work with symbolic
by stephen
in thread "my" variables don't work with symbolic
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |