[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Perl 5.8.0 breaks CPAN.pm



On Sat, Aug 03, 2002 at 02:59:18PM -0700, Stephen Zander wrote:
>Having CPAN insist on using /etc/perl/CPAN as it's repository makes it
>next to impossible for non-root usage.  At the very least the code
>should be willing to continue using ~/.cpan/CPAN if /etc/perl/CPAN
>fails.

Oops, inadequate testing...  I tried root first, then user which both
worked.

The problem is that the mkpath here:

        if (-d $configpmdir or File::Path::mkpath($configpmdir)) {

croaks rather than fails.  I'll include the /etc/perl/CPAN dir in the
deb.

--bod



Reply to: