Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^7: Making it clearer to say that a sub is defined within current packageby Eily (Monsignor) |
on Apr 11, 2019 at 16:08 UTC ( [id://1232455]=note: print w/replies, xml ) | Need Help?? |
Ah, right. I understood that you were saying that calling My::function from a module that does not define function would yield unexpected results. The actual message makes more sense :D. If there are already package that use My:: without having reserved the keyword, they already are risky on their own anyway, if you ever end up including more than one of those in one program.
In Section
Seekers of Perl Wisdom
|
|