What you want is 'require'. perldoc -f require
You should also check your books in the index for 'require' as this topic should be covered, otherwise you might consider new books ;-)... If you have the time you might also have a look at Find::Bin and consider developing modules anyways... http://danconia.org ------------------------------------------------ On Mon, 30 Dec 2002 01:37:26 -0000, "Craig Williams" <[EMAIL PROTECTED]> wrote: > I don't want to keep all my code for a script in one file. > > Do I have to use modules to break apart the code ? Is there anyway to just > include a .pl file ? Modules used this way are a > pain because they must be put into /site/lib to work ..? > > I have searched google and docs and even my books on perl, very untouched > subject ;-) > > thanks > > Craig > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]