Divide Perl script

2003-02-27 Thread Shishir K. Singh
Hello, How can I divide my perl program in different files(in other words..move the sub routines in different files ) and then do an include in the mail perl file. The reason why I want to do this is because my main program is growing day by day and it's becoming difficult to navigate through

RE: Divide Perl script

2003-02-27 Thread Chris Rogers
: Thursday, February 27, 2003 4:47 PM To: [EMAIL PROTECTED] Subject: Divide Perl script Hello, How can I divide my perl program in different files(in other words..move the sub routines in different files ) and then do an include in the mail perl file. The reason why I want to do this is because my

RE: Divide Perl script

2003-02-27 Thread Shishir K. Singh
Thanks to everyone, it works. -Original Message- From: Chris Rogers [mailto:[EMAIL PROTECTED] Sent: Thursday, February 27, 2003 4:58 PM To: Shishir K. Singh; [EMAIL PROTECTED] Subject: RE: Divide Perl script Just create a separate file to hold your library routines. You may name

Re: Divide Perl script

2003-02-27 Thread Harry Putnam
Shishir K. Singh [EMAIL PROTECTED] writes: Hello, How can I divide my perl program in different files(in other words..move the sub routines in different files ) and then do an include in the mail perl file. The reason why I want to do this is because my main program is growing day by day

Re: Divide Perl script

2003-02-27 Thread R. Joseph Newton
Chris Rogers wrote: Just create a separate file to hold your library routines. You may name the file anything you like. Be sure to put the line: Good advice. It is a good idea to use a .pm extension, and to have a package name identical to the base name: file: rjnWeb.pm in script: