Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

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??

in reply to Re: Can I force strictness on included files?
in thread Can I force strictness on included files?

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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://471251]
[Discipulus]: Eily i'm testing a failure: i ok if i get bad results.. perhaps there is another way to do it...
[Discipulus]: in other words: i have a contructor that carps on missing arguments and I want to test that it fails correctly, without carping out in the test output

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2018-01-22 11:34 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (233 votes). Check out past polls.