Scott Wahlstrom <[EMAIL PROTECTED]> wrote:
> Upon running
>
> #nada> perl -MCPAN -e shell
>
> a configuration file was changed...whats the name of this file?
~/.cpan/CPAN/MyConfig.pm
But if you run it as root (tsk) the system-wide one gets changed:
#!/usr/bin/perl -l
# whence the CPAN config files?
require CPAN;
CPAN::Config->load;
print 'config files for user: ' . getpwuid $>;
print 'system: ', $INC{'CPAN/Config.pm'};
print 'user: ', $INC{'CPAN/MyConfig.pm'} || '[none]';
--
Steve
perldoc -qa.j | perl -lpe '($_)=m("(.*)")'
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]