RE: Question on PERL coding style...

2002-01-29 Thread Curtis Poe
--- 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

RE: Question on PERL coding style...

2002-01-29 Thread John
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]

RE: Question on PERL coding style...

2002-01-29 Thread McDonald Patrick
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

RE: Question on PERL coding style...

2002-01-29 Thread Hanson, Robert
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