How to use warnings in Apache::ASP?

2000-07-29 Thread Philip Mak
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? I searched the nodeworks.com/asp site (keyword warning/warnings) as well as

Re: How to use warnings in Apache::ASP?

2000-07-29 Thread Joshua Chamas
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? > > I searched the nodeworks.com/asp site (keywo

Re: How to use warnings in Apache::ASP?

2000-07-29 Thread Philip Mak
On Sat, 29 Jul 2000, Joshua Chamas 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?

Re: How to use warnings in Apache::ASP?

2000-07-29 Thread Joshua Chamas
Philip Mak wrote: > > I just tried doing the global.asa thing, but I realized another problem. > Recently, I installed a new version of perl on my system (upgraded 5.00503 > to 5.6). Something went wrong though; Apache::ASP is still using the old > version of perl. If I run /usr/bin/perl, /usr/lo

RE: How to use warnings in Apache::ASP?

2000-07-31 Thread Douglas Wilson
> -Original Message- > From: Joshua Chamas [mailto:[EMAIL PROTECTED]] > Sent: Saturday, July 29, 2000 7:28 PM > To: Philip Mak > Cc: [EMAIL PROTECTED] > Subject: Re: How to use warnings in Apache::ASP? > > > Philip Mak wrote: > > > > Is there a