in reply to javascript, javascript.pm, data::Javascript, cgi, installing, using, perl module from cpan
Sure Adam, you can always use any Perl Module you like. Even if your ISP wont install the module for you. Here is what you do.
1. Download the module.
2. Create A new directory on your server (I would suggest somthing like: perlmods/The Module Name Here/).
3. Decompress the module you downloaded (if needed).
4. Upload *ALL* the decompressed files to the directory you created on the server.
5. Make sure the directory & the files you put on the server have Read, Write & Execute permissions, if your server requires to set permissions.
6. Add
to the script you want to use the module.use lib '~myname/path/to/perlmods/The Module Name Here'; use javascript;
use lib simply adds the list of paths that you specify to the front of @INC and thus they get searched first for any modules. While you can't easily maintain the modules with CPAN, you can still grab the source for each, and specify YOUR directory for all install work.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: javascript, javascript.pm, data::Javascript, cgi, installing, using, perl module from cpan
by arturo (Vicar) on Mar 26, 2001 at 19:05 UTC | |
by akm2 (Scribe) on Mar 26, 2001 at 19:25 UTC | |
by heyman (Novice) on Mar 28, 2001 at 04:21 UTC |