http://www.perlmonks.org?node_id=188322


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