Hi - > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Shishir > K. Singh > Sent: Thursday, February 27, 2003 11:13 AM > 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
I had the same question when my scripts started to get larger and larger. I could not find a 'good' way to do it. I finally decided to go to Modules and have not regretted that decision. The 'h2xs' utility makes it *almost* painless, and with a little practice, you end up with a store of reusable code that can be used in many projects. Aloha => Beau; _______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
