|
|
| No such thing as a small change | |
| PerlMonks |
Re^4: scope of "use strict"? (needed: "superstrict")by rev_1318 (Chaplain) |
| on Jul 07, 2005 at 02:35 UTC ( [id://473043]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Why would you expect a warning from $blah = "hi";? There is nothing wrong with your package (except the Package statement, which should read package). The only warning you should get (and do get with warnings turned on) is: Name "main::bar" used only once: possible typo... which is correct. Paul
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||