http://qs321.pair.com?node_id=699178


in reply to Re: Need to install module, ftp access only
in thread Need to install module, ftp access only

That was my first thought... mkdir /.cpan: Permission denied at /usr/lib/perl5/5.8.5/CPAN.pm line 1258
  • Comment on Re^2: Need to install module, ftp access only

Replies are listed 'Best First'.
Re^3: Need to install module, ftp access only
by sgifford (Prior) on Jul 22, 2008 at 03:00 UTC
    It's trying to install the module somewhere you don't have permission, so you simply need to tell the CPAN module to install it somewhere else. You can either set up an appropriate configuration file, as pc88mxer describes, or else set the PREFIX environment variable to tell the CPAN module where you want it to install the module. See Re^2: Perl module for a sample script.