Most perl modules can be installed into an alternative locations, via the use of "use lib" or other similar modifications. Assuming that what you are trying to do is allow users to simply drop in the code and necessary supports, I would try to work with modules that have a GPL-like license or similar that allows free distribution of that module code. Thus, you can now provide your users with a tar-ball of not only your code, but the modules that you need. The extra modules would then sit within the user's directory on the virtual host.
You can easily check for the existence of a module in a pre-install script to decide if it's need, possibly by the use of automake/autoconf, or even via makefiles though you'll need to do a few tests to make sure that work, or you can let the user decide to use that support module if necessary via your web-config idea.
Dr. Michael K. Neylon - mneylon-pm@masemware.com
||
"You've left the lens cap of your mind on again, Pinky" - The Brain
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.