![]() |
|
Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: use strict (upper or lower case)by Arien (Pilgrim) |
on Aug 16, 2002 at 15:18 UTC ( [id://190668]=note: print w/replies, xml ) | Need Help?? |
To start with your question: The correct form is use strict; I can't verify what you're seeing on NT at the moment, but on Win98 I get this using ActiveState's port (Build 633):
This is a bug due to the fact that filenames under Windows are not case-sentitive: the file strict.pm can be found as Strict.pm. So when Perl goes looking for Strict.pm, strict.pm is found and loaded. However, the import sub will not be run (and the hints for the Perl parser don't get set) as would happen automatically if you use strict;. — Arien Edit: Abigail-II said most of this and said it faster...
In Section
Seekers of Perl Wisdom
|
|