in reply to Re: javascript, javascript.pm, data::Javascript, cgi, installing, using, perl module from cpan
in thread javascript, javascript.pm, data::Javascript, cgi, installing, using, perl module from cpan
Simply uncompressing module tarballs or .zip files and putting them in a particular place isn't always going to do the job right. There's a standard procedure for installing Perl modules, and there's no problem with installing them into any directory to which you have write permissions.
perl Makefile.PL PREFIX=path/to/my/modules make make test #(optional) make install
The <coe>PREFIX</code> argument to Makefile.PL is the key here; if you omit it, the installation will point to the system-wide @INC directories, which are usually (because they ought to be) only writeable by the superuser. See your system's perldoc perlmodinstall for more goodies like this.
Philosophy can be made out of anything. Or less -- Jerry A. Fodor
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: javascript, javascript.pm, data::Javascript, cgi, installing, using, perl module from cpan
by akm2 (Scribe) on Mar 26, 2001 at 19:25 UTC | |
by heyman (Novice) on Mar 28, 2001 at 04:21 UTC |