in reply to Problem installing CPAN modules
Most likely (and that's just a raw guess), your user has the HTTP proxy environment variables set up, and these get lost when you issue a command to run as the superuser via sudo. Look at whether there is a difference between:
echo $HTTP_PROXY perl -wle 'print $ENV{HTTP_PROXY}' sudo perl -wle 'print $ENV{HTTP_PROXY}'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Problem installing CPAN modules
by daverave (Scribe) on Jun 28, 2010 at 09:01 UTC | |
by Corion (Patriarch) on Jun 28, 2010 at 09:08 UTC | |
by daverave (Scribe) on Jun 28, 2010 at 09:20 UTC | |
by Corion (Patriarch) on Jun 28, 2010 at 09:24 UTC | |
by daverave (Scribe) on Jun 28, 2010 at 09:30 UTC | |
|