You're starting another sudo shell within your first sudo shell. Each new shell starts with the fresh values. Within the first sudo shell, all commands (without sudo prepended) should work now.
In reply to Re^5: Problem installing CPAN modules
by Corion
in thread Problem installing CPAN modules
by daverave
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |