|
|
| "be consistent" | |
| PerlMonks |
Re: Re: using strict refsby Hofmator (Curate) |
| on Aug 28, 2001 at 14:02 UTC ( [id://108443]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
The eval version works, the other version doesn't work because symbolic references only work for package variables - not for lexical variables declared with my. So:
-- Hofmator
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||