in reply to loading Perl modules onto virtual web host
I got a few Perl applications going on http://ipowerweb.com like twiki which required additional CPAN modules.
What I would do is download the necessary CPAN modules onto my local machine and make the module. Note that you MUST build a Perl version as binaries are unlikely to work on a remote virtual host.
Next, I would bundle up my modules into a particular location, and FTP them onto my virtual server (e.g. into the /home/myusername/perllib/ directory).
Lastly I would ensure my Perl script would have a
statement so that Perl would know where to find my modules.use lib '/home/myusername/perllib';
In the case of twiki, which already has several Perl modules that are used by the application, I bundled my CPAN modules into the same directory as those that came with the application and ensured the library path was correctly set in the application configuration file.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: loading Perl modules onto virtual web host
by monarch (Priest) on Oct 11, 2006 at 10:08 UTC | |
by Anonymous Monk on Oct 11, 2006 at 10:31 UTC | |
by monarch (Priest) on Nov 02, 2006 at 11:46 UTC |