Gossamer Forum
Home : General : Perl Programming :

Use Strict, but not strict for a section

Quote Reply
Use Strict, but not strict for a section
Is there a way I can use strict for a cgi, but turn strict off (specifically warnings) for a particular section of the code?


Let's say for example, I have a use statement which calls upon a GT module, and sometimes I am not using this cgi with GT products.

So I want to supress the warnings by requiring the module and doing something before the require statement.

Any ideas?
Subject Author Views Date
Thread Use Strict, but not strict for a section Ian 8053 Feb 8, 2003, 4:22 PM
Thread Re: [Ian] Use Strict, but not strict for a section
Mark Badolato 7884 Feb 8, 2003, 4:49 PM
Post Re: [Mark Badolato] Use Strict, but not strict for a section
Paul 7867 Feb 8, 2003, 4:51 PM
Thread Re: [Mark Badolato] Use Strict, but not strict for a section
Ian 8023 Feb 8, 2003, 4:54 PM
Thread Re: [Ian] Use Strict, but not strict for a section
Paul 7863 Feb 8, 2003, 5:04 PM
Post Re: [Paul] Use Strict, but not strict for a section
Ian 7865 Feb 8, 2003, 5:06 PM
Post Re: [Ian] Use Strict, but not strict for a section
Mark Badolato 7850 Feb 8, 2003, 8:32 PM
Post Re: [Ian] Use Strict, but not strict for a section
Chaz 7865 Feb 8, 2003, 4:52 PM
Thread Re: [Ian] Use Strict, but not strict for a section
Paul 7854 Feb 8, 2003, 5:10 PM
Post Re: [Paul] Use Strict, but not strict for a section
Ian 7848 Feb 8, 2003, 5:12 PM
Thread Re: [Ian] Use Strict, but not strict for a section
wysardry 7845 Feb 9, 2003, 3:51 AM
Post Re: [wysardry] Use Strict, but not strict for a section
Ian 7838 Feb 9, 2003, 9:06 AM