Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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

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 browsing the Monastery: (7)
As of 2016-06-30 11:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (393 votes). Check out past polls.