> All...
> 
> I am fairly new to Perl...
> But I am in the middle of writing a program where I need to add the 
> ability to have a module directory, so to speak, where others can write 
> modules, place them in the module directory, and have them executed by 
> the main program...  Of course, there are different ways of doing this 
> but I was wondering if there was a recommended way or "elegant" way of 
> doing it...
> 
> Thanks in advance!
> Shawn

Check out the 'lib' pragma,

perldoc lib

It will allow you to alter the @INC so that your script can find modules
in non-standard places.  If you have modules relative to your script,
you may want to look at FindBin as well,

perldoc FindBin

It will help with letting you set a lib directory relative to your
script, but generic for the system.

Helps?

http://danconia.org


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to