Re: Use Strict

2005-01-14 Thread Shaun Fryer
> perldoc -f my > perldoc -f package > perldoc perlmod > perldoc Exporter Also along the same lines, you can get rid of alot of the grunt work by using the following on the unix command line (not sure about win32, sorry ... but try anyway). h2xs -AXn ModuleName The result will be a fully

RE: Use Strict

2005-01-14 Thread Graeme St. Clair
ssage- From: Ovid [mailto:[EMAIL PROTECTED] Sent: Thursday, January 13, 2005 8:09 PM To: Graeme St. Clair; beginners-cgi@perl.org Subject: RE: Use Strict --- "Graeme St. Clair" <[EMAIL PROTECTED]> wrote: > Now I have another Q arising out of this. I have an irreducible pair

RE: Use Strict

2005-01-13 Thread Ovid
--- "Graeme St. Clair" <[EMAIL PROTECTED]> wrote: > Now I have another Q arising out of this. I have an irreducible pair > of > 'requires explicit package name' msgs that I can't see how to fix. > One > example is:- > > ...perl perl perl > require 'bunch_of_constants.pl'; > ...perl perl perl > $

RE: Use Strict

2005-01-13 Thread Graeme St. Clair
hange? Rgds, GStC. -Original Message- From: Randy W. Sims [mailto:[EMAIL PROTECTED] Sent: Thursday, January 13, 2005 6:59 PM To: Graeme St. Clair Cc: beginners-cgi@perl.org Subject: Re: Use Strict Graeme St. Clair wrote: > In accordance with The Rules, I added use strict & us

Re: Use Strict

2005-01-13 Thread Randy W. Sims
Graeme St. Clair wrote: In accordance with The Rules, I added use strict & use warnings to a script invoked from a browser page on the same machine. Last time I did this, as soon as I used the browser page, Apache 'error.log' promptly showed scads of msgs along the lines of '[Wed Dec 08 11:03:52 2

Re: use strict

2001-12-17 Thread Curtis Poe
--- Carl Franks <[EMAIL PROTECTED]> wrote: > I have a seperate config file in which I define all of my variables. > (because I'm making a program using several scripts with many common vars) > > I was under the impression that by initiating the variable (even in a > seperate file) 'use strict' wo

Re: use strict errors?

2001-06-28 Thread Adam Carson
That's good. I thought that's what the error was. The list must finally be teaching me something. >>> Curtis Poe <[EMAIL PROTECTED]> 06/28/01 03:07PM >>> --- "RDWest Sr." <[EMAIL PROTECTED]> wrote: > hi yall, > maybe i been up too long... i'm confused with this...script works >

Re: use strict errors?

2001-06-28 Thread Curtis Poe
--- "RDWest Sr." <[EMAIL PROTECTED]> wrote: > hi yall, > maybe i been up too long... i'm confused with this...script works >fine but > returns errors with use strict... > could someone plz explain what i'm doing wrong? > tx 'use strict' will, amongst other things, force you to pre