The stupid question is the question not asked | |
PerlMonks |
Re^2: 'local' for imported variables doesn't work as expectedby muthm (Sexton) |
on Oct 06, 2024 at 22:28 UTC ( [id://11162073]=note: print w/replies, xml ) | Need Help?? |
LanX wrote:
So exporting the whole typeglob will fix it.:). This perfectly does the job! I replaced by in Dsay.pm. I now can use and get debugging output from the 'two' area only. Debugging output stops as soon as the localized $d_area value drops out of scope. And this without the need of qualifying $Dsay::d_area anymore! Thank you so much! This really helps, and I have learned a lot!
In Section
Seekers of Perl Wisdom
|
|