[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl
Subject:    RE: How to use warnings in Apache::ASP?
From:       "Douglas Wilson" <dougw () racesearch ! com>
Date:       2000-07-31 17:03:09
[Download RAW message or body]



> -----Original Message-----
> From: Joshua Chamas [mailto:joshua@chamas.com]
> Sent: Saturday, July 29, 2000 7:28 PM
> To: Philip Mak
> Cc: modperl@apache.org
> Subject: Re: How to use warnings in Apache::ASP?
> 
> 
> Philip Mak wrote:
> > 
> > Is there a way to make it so that all Apache::ASP scripts on my 
> site have
> > "use warnings;" on by default (something analogous to 
> PerlSetVar Strict 1
> > and use strict;)? Or do I just have to put "use warnings;" in 
> every file?
> 
> What does it do?  Never heard of it, same as -w?

warnings is NOT a module (someone called it that
in another post). Its a pragma (new, as of perl 5.6), like
'use strict', which means you can turn it on or off locally in
any block. (Or turn parts of it on or off).

HTH,
Douglas Wilson

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic