in reply to Need to install module, ftp access only

The usual trick is to write a CGI script which does it for you. For instance, you could try:
#!/usr/bin/perl system("perl -MCPAN -e 'install WWW::Mechanize'");
This will work if the install procedure can be done non-interactively. You might have to configure your ~/.cpan/CPAN/ first.

Replies are listed 'Best First'.
Re^2: Need to install module, ftp access only
by Anonymous Monk on Jul 21, 2008 at 22:51 UTC
    That was my first thought... mkdir /.cpan: Permission denied at /usr/lib/perl5/5.8.5/ line 1258
      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.