Welcome to the Monastery | |
PerlMonks |
Re: examining other package's variable without 'use'by pfaut (Priest) |
on May 09, 2003 at 17:55 UTC ( [id://256948]=note: print w/replies, xml ) | Need Help?? |
Why not have the caller pass the variable instead of it's name? Why call a subroutine to get the value of a variable that's already accessible? Perhaps you meant to look in the caller's caller's namespace? This sounds like a broken design to me.
In Section
Seekers of Perl Wisdom
|
|