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:
in my code (which threw a syntax error about missing bracket!?), to:
Which did the trick for testing. Thanks again! Sean
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
In Section
Seekers of Perl Wisdom