This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id:
65696
Status:
open
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
csjewell [...] cpan.org
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
1.94_64
Fixed in:
(no value)



Subject: Error message: Use of uninitialized value $_ in concatenation (.) or string at .../CPAN/HandleConfig.pm line 523.
You don't have to have $ENV{HOME} - most Windows systems don't. If not, then this error happens. To solve this, line 521 of CPAN::HandleConfig needs to be: push @dirs, $ENV{HOME} if $ENV{HOME}; or something of the like.
Subject: Re: [rt.cpan.org #65696] Error message: Use of uninitialized value $_ in concatenation (.) or string at .../CPAN/HandleConfig.pm line 523.
Date: Sun, 13 Feb 2011 14:30:46 -0500
To: bug-CPAN@rt.cpan.org
From: David Golden <dagolden@cpan.org>
On Sun, Feb 13, 2011 at 11:06 AM, Curtis Jewell via RT <bug-CPAN@rt.cpan.org> wrote:
Show quoted text
> You don't have to have $ENV{HOME} - most Windows systems don't. If not, > then this error happens. > > To solve this, line 521 of CPAN::HandleConfig needs to be: >    push @dirs, $ENV{HOME} if $ENV{HOME}; > or something of the like.
Thanks. I've patched that in my repo (and added some other things like HOMEDRIVE and HOMEPATH) and will send a pull request to Andreas. -- David


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.