"be consistent" | |
PerlMonks |
Re^2: Note on usage of ours variables and a questionby likbez (Sexton) |
on Nov 20, 2019 at 02:06 UTC ( [id://11108923]=note: print w/replies, xml ) | Need Help?? |
Hi Toby,
Amazing finding ! This does solves that problem. So you are the first to provide a real solution. Kind of undocumented feature. Thank you very much. But the problem is that I often forget to put :: after $ and correcting this error ( as in "$debug -> $::debug ") takes my time and if you have many modules and change debugging statements in them often it became pretty annoying because for me this error is persistent. This is even more complex idiom and I unfortunately I am very bad with typing them. I still often type variables without sigil, especially if the same day I used C. But in any case I did learn something new and interesting about Perl today. Thanks again.
In Section
Seekers of Perl Wisdom
|
|