Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Re: symbolic reference to variable in callers name space

by spq (Friar)
on Aug 07, 2002 at 14:23 UTC ( #188322=note: print w/ replies, xml ) Need Help??


in reply to Re: symbolic reference to variable in callers name space
in thread symbolic reference to variable in callers name space

Thank you both! That does indeed work. I did need to change:

warn("DEBUG = ${"${pkg}::DEBUG"} in $pkg");

in my code (which threw a syntax error about missing bracket!?), to:
warn("DEBUG = " . ${"${pkg}::DEBUG"} . " in $pkg");

Which did the trick for testing. Thanks again! Sean


Comment on Re: Re: symbolic reference to variable in callers name space
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://188322]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2014-07-26 12:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (176 votes), past polls