perl_5.6_warnings

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



Subject: RE: How to use warnings in Apache::ASP?
From: "Douglas Wilson" <dougw@racesearch.com>
Date: Mon, 31 Jul 2000 10:03:09 -0700

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).

===



the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu