Thanks to everyone...it works.
-----Original Message----- From: RICH, ADAM (SBCSI) [mailto:[EMAIL PROTECTED] Sent: Thursday, February 27, 2003 4:49 PM To: Shishir K. Singh; activeperl Subject: RE: Divide Perl script To split a program into seperate files, you can break it up into as many files as you want, and just call require("filename") to include them. Since each file must eval to 1, make sure you put "1;" on the last line for each file that you require. -----Original Message----- From: Shishir K. Singh [mailto:[EMAIL PROTECTED] Sent: Thursday, February 27, 2003 3:13 PM To: activeperl 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 main program is growing day by day and it's becoming difficult to navigate through it. Is there any alternate method to do this? I don't want to get in the process of converting these new files into modules and then import these modules. Just want to keep it simple. TIA Shishir _______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
