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

Owner: Nobody in particular
Requestors: trichmond [...]

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 [...]" <bug-File-BaseDir [...]>
From: Todd Richmond <trichmond [...]>
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 infrastructure.

Please report any issues with to