You're attempting to use a symref to access a lexical variable, which won't work since lexicals don't reside in the symbol table. This won't work either:
$ perl -le 'my $foo = 5; print ${"foo"}' $
A use strict would have produced a gripe.
In reply to Re: 'my' buggy...
by Fletch
in thread 'my' buggy...
by december
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |