Hi Craig, Just put it in a file with a ./pm extension in the same directory as your calling program, then use either the use or require statements: file: rjnWeb.pm
in my program file: use rjnWeb; works like a charm on my ActivePerl on Win2k and on one of the unix servers I telnet to. It doesn't work on the other, but the other also chokes on the use statement in the perldoc shell script, so I think the problem is an internal one.. Joseph Craig Williams 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]