|
|
| laziness, impatience, and hubris | |
| PerlMonks |
Re: Can I force strictness on included files?by broquaint (Abbot) |
| on Jun 30, 2005 at 08:59 UTC ( #471254=note: print w/ replies, xml ) | Need Help?? |
|
If you're not adverse to a little module usage then Module::Locate can help you out: So this will grab the source of $mod (and populate %INC), add strictness to the source and finally evaluate the new strict source, checking eval for errors too.
HTH
_________
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||