Suggestions for distributing my Perl program

Discussion in 'Perl Misc' started by freesoft12, Dec 18, 2008.

  1. freesoft12

    freesoft12 Guest


    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?

    freesoft12, Dec 18, 2008
    1. Advertisements

  2. freesoft12

    Klaus Guest

    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?
    Klaus, Dec 18, 2008
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.