Suggestions for distributing my Perl program

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I want to create a Perl program that contains a script, say,
(that the user executes) and uses code from supporting modules
(multiple .pm files). These perl files will be installed in any

I currently have in mind this kind of installation hierarchy:

<install location>/MYTOOL/bin/
<install location>/MYTOOL/modules/
<install location>/MYTOOL/modules/
<install location>/MYTOOL/modules/


1)  How can import these modules, etc?
2) Is there a standard way of installing my program?


Re: Suggestions for distributing my Perl program

Quoted text here. Click to load it

See Perlfaq8

+ How do I keep my own module/library directory?
+ How do I add the directory my program lives in to the module/library
search path?
+ How do I add a directory to my include path (@INC) at runtime?


Site Timeline