F
freesoft12
Hi,
I want to create a Perl program that contains a script, say run.pl,
(that the user executes) and uses code from supporting modules
(multiple .pm files). These perl files will be installed in any
directory.
I currently have in mind this kind of installation hierarchy:
<install location>/MYTOOL/bin/run.pl
<install location>/MYTOOL/modules/Options.pm
<install location>/MYTOOL/modules/Utils.pm
<install location>/MYTOOL/modules/DB.pm
Questions:
1) How can run.pl import these modules, Options.pm etc?
2) Is there a standard way of installing my program?
Regards
John
I want to create a Perl program that contains a script, say run.pl,
(that the user executes) and uses code from supporting modules
(multiple .pm files). These perl files will be installed in any
directory.
I currently have in mind this kind of installation hierarchy:
<install location>/MYTOOL/bin/run.pl
<install location>/MYTOOL/modules/Options.pm
<install location>/MYTOOL/modules/Utils.pm
<install location>/MYTOOL/modules/DB.pm
Questions:
1) How can run.pl import these modules, Options.pm etc?
2) Is there a standard way of installing my program?
Regards
John