Skip Menu |
 

This queue is for tickets about the File-BaseDir CPAN distribution.

Report information
The Basics
Id: 127138
Status: open
Priority: 0/
Queue: File-BaseDir

People
Owner: Nobody in particular
Requestors: trichmond [...] proofpoint.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: More complete check for $home
Date: Tue, 18 Sep 2018 16:12:31 +0000
To: "bug-File-BaseDir [...] rt.cpan.org" <bug-File-BaseDir [...] rt.cpan.org>
From: Todd Richmond <trichmond [...] proofpoint.com>
Download (untitled) / with headers
text/plain 344b
When $ENV{HOME} is not set, fall back to the user’s entry from /etc/passwd on non-MSWin32 systems. This will allow applications that don’t run under a shell that set HOME to still use their own values rather than root’s my $home = $ENV{HOME}; $home =(getpwuid($>))[7] unless ($home || $^O eq ‘MSWin32’); unless ($home) { …
Download (untitled) / with headers
text/plain 155b
Please note that this module has been put up for adoption. I'm not able to maintain it anymore for several reasons, but bug reports are still coming to me.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

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