--- John <[EMAIL PROTECTED]> wrote:
> If you put them in a module are they parsed before they are called?
> Does it matter whether you use "use" or "require"? When is it better
> to specify subroutines when you use "use"?
See perldoc -f use and perldoc -f require.
"use" happens at compile tim
If you put them in a module are they parsed before they are called?
Does it matter whether you use "use" or "require"? When is it better
to specify subroutines when you use "use"?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Perl will only execute subroutines when called. It is recommended that you
group all subroutine defintions either at the beginning or the end of the
program.
Pat
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 29, 2002 1:38 PM
To: [EMAIL PROT
It goes around it. You need to call a subroutine for it to be executed...
although it will still be compiled, which could cause compilation errors
even before the script starts to run.
Rob
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 29, 2