![]() |
|
laziness, impatience, and hubris | |
PerlMonks |
Re: Re: Re: Re: Re: Confused about splitting program into multiple files.by davido (Cardinal) |
on Feb 15, 2004 at 07:32 UTC ( [id://329107]=note: print w/replies, xml ) | Need Help?? |
...if every function is going to be available (exported) is there a reason not to put them in package main? One reason could be code reuse. If the same functions are used across several scripts, you at minimum save a little typing by keeping them in a separate file where they can be pulled in by all the scripts that need them.
Dave
In Section
Seekers of Perl Wisdom
|
|