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

  • Comment on Re: Re: javascript, javascript.pm, data::Javascript, cgi, installing, using, perl module from cpan
  • Select or Download Code

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

      When i try the PERL PREFIX= thru shell account It says it cannot find files listed in the MANIFEST file even though i went thru and tryed changing these file to point directly to the location .

      Is there another way of using Javascript.pm?