![]() |
|
"be consistent" | |
PerlMonks |
Re: Requires explicit package nameby Narveson (Chaplain) |
on Nov 28, 2008 at 06:10 UTC ( #726525=note: print w/replies, xml ) | Need Help?? |
"Requires explicit package name" is the error message you get under strict when you have failed to declare a variable. I shared your confusion the first time I saw this message. The remedy is not to supply a package name, but to declare the variable with my.
In Section
Seekers of Perl Wisdom
|
|