![]() |
|
"be consistent" | |
PerlMonks |
Re^2: Can I force strictness on included files?by Thilosophy (Curate) |
on Jun 30, 2005 at 08:42 UTC ( #471251=note: print w/replies, xml ) | Need Help?? |
From what I understand I guess you just need to include 'use strict' in the file you wish to call.
Sure, but I want to avoid having to do this. I like to update things in only one place, so instead of specifying use strict; in my about one hundred data files (I think I am actually in a similar situation than you describe), I would rather do that in the one place where all these other files are included in the main module.
In Section
Seekers of Perl Wisdom
|
|