Bug 197478

Summary: default storage directory inaccessable (/builddir/.cpanplus)
Product: [Fedora] Fedora Reporter: Chris Weyl <cweyl>
Component: perl-CPANPLUSAssignee: Steven Pritchard <steve>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: extras-qa
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-02-19 17:52:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Chris Weyl 2006-07-02 20:15:11 UTC
Description of problem:
CPANPLUS has a default directory of '/buildroot/.cpanplus', which causes Bad
Things to happen when apps try to use CPANPLUS without expliticly overriding. 
(e.g. scandeps.pl from perl-Module-ScanDeps)

Would it be possible to tweak Config.pm to alter the default behavior to, say,
$ENV{HOME}/.cpanplus, to make it more in line with the way perl(CPAN) does it? 

File: /usr/lib/perl5/vendor_perl/5.8.8/CPANPLUS/Config.pm
Line: 74

Comment 1 Steven Pritchard 2006-07-03 22:39:09 UTC
Does changing the line

 'base' => '/builddir/.cpanplus',

to

 'base' => "$ENV{HOME}/.cpanplus",

seem to work properly?

Comment 2 Chris Weyl 2006-07-04 00:18:56 UTC
Yes.

Comment 3 Chris Weyl 2007-02-19 17:52:00 UTC
Long since fixed, so closing to get it off my frontpage :)