Daniel Kasak <mailto:[EMAIL PROTECTED]> wrote: : : I have a large script ( 6000 lines ) that I'd like to break into : logical units. Is there a way I can tell perl to 'append' a list : of files into 1 script so that I can call subs from any of the : files and have them treated as if they were all from the same : script ( ie all my variables will be visible )?
If I understand you correctly, yes, but what would be the point? 6000 lines distributed over several files which, when called, are combined back into a 6000 line script doesn't really do anything. The result is the same: a 6000 line script. Better to use modules or objects. You might start by reading the perl docs: 'perlmod' and 'perlmodstyle' are good places to start. HTH, Charles K. Clarkson -- Mobile Homes Specialist 254 968-8328 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>