> 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
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
--- "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
> $
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
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 '[
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 20
because Perl has evolved over time?
joel
-Original Message-
From: Jake [mailto:[EMAIL PROTECTED]]
Sent: 05 June 2002 13:56
To: [EMAIL PROTECTED]
Subject: Why do we even HAVE to... (was: Why using use strict;)
So, in post after post after post I see the comment "always use s
I was referring to those just touching the water, not the ones already waist
deep.
yes after you have your feet wet you should be using "use strict" at all
times,
and don't forget "use warnings" to help with those foolish mistakes we all
make.
If only I knew that b
> -Original Message-
> From: Jake [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 05, 2002 8:56 AM
> To: [EMAIL PROTECTED]
> Subject: Why do we even HAVE to... (was: Why using use strict;)
>
>
> So, in post after post after post I see the comment "alw
IMHO only the first of these may be a valid reason. But I dont know much
about "perl one liners".
Your second reason is particularly bad, beginners are the ones who need "use
strict" the most!
On Wednesday 05 June 2002 10:12 am, Nikola Janceski wrote:
> because it woul
TECTED]]
> Sent: Wednesday, June 05, 2002 8:56 AM
> To: [EMAIL PROTECTED]
> Subject: Why do we even HAVE to... (was: Why using use strict;)
>
>
> So, in post after post after post I see the comment "always
> use strict"...
>
> I have seen threads where people a
So, in post after post after post I see the comment "always use strict"...
I have seen threads where people are insulted because they dont...
Every perl tutorial I've seen says you should always "use strict"...
It apparently doesnt slow down code execution...
If y
On Wednesday, June 5, 2002, at 05:51 , Bob Showalter wrote:
>> -Original Message-
>> From: Janek Schleicher [mailto:[EMAIL PROTECTED]]
>> Sent: Wednesday, June 05, 2002 6:19 AM
>> Octavian Rasnita wrote at Tue, 04 Jun 2002 08:03:21 +0200:
>>>
>&g
> -Original Message-
> From: Octavian Rasnita [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 04, 2002 2:03 AM
> To: [EMAIL PROTECTED]
> Subject: Why using use strict;
>
>
> Hi all,
>
> I know why I should use "use strict;" but what happen i
> -Original Message-
> From: Janek Schleicher [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 05, 2002 6:19 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Why using use strict;
>
>
> Octavian Rasnita wrote at Tue, 04 Jun 2002 08:03:21 +0200:
>
> > Hi all,
Octavian Rasnita wrote at Tue, 04 Jun 2002 08:03:21 +0200:
> Hi all,
>
> I know why I should use "use strict;" but what happen if I use "use strict;" then
>if the code is
> OK, I delete this line?
>
use strict has (e.g.) the benefit for checking fo
why would you want to do that Octavian?
"use strict" is a sanity safety net. What your saying is like "I know why I
should use safety belt whilst driving my car but what if I took it off?" -
of course you can do it but beware of the consequences.
joel
-Original Message
Hi all,
I know why I should use "use strict;" but what happen if I use "use
strict;" then if the code is OK, I delete this line?
Shouldn't it work the same without this line if the code has no problems?
Thanks.
Teddy,
[EMAIL PROTECTED]
--
To unsubscribe, e-ma
--- 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
>
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' would be happy.
However, when I run th
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 predeclare all variables (well,
almost all)
that you us
--- "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
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
#!perl
use strict;
print "Content-type
23 matches
Mail list logo