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


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/MyConfig.pm first.