Skip Menu |
 

This queue is for tickets about the Module-Checkstyle CPAN distribution.

Report information
The Basics
Id: 19334
Status: open
Priority: 0/
Queue: Module-Checkstyle

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

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



Subject: NOTICE: Critical changes to File::HomeDir API
Download (untitled) / with headers
text/plain 904b
You are receiving this bug report because you are a use of File::HomeDir. Please note that in a few months, a significant change will be made to File::HomeDir. Currently, all methods in the newer API are documented as always returning a directory. Some downstream code may be relying on this. Note that shortly, File::HomeDir will be changed so that for environments in which there is NO logical home directory, File::HomeDir will return C<undef> (even in list-context cases). This is intended to create warnings or error, rather than potentially cause a silent change in behaviour (if it returned '' or the null list). However, note that any directory returned will still have been confirmed to exist, and need to be checked further. This bug has been filed pro-actively, you should resolve it once you have confirmed that your module can handle false values being returned for the home directory.
Subject: Re: [rt.cpan.org #19334] AutoReply: NOTICE: Critical changes to File::HomeDir API
Date: Thu, 18 May 2006 20:16:33 +1000
To: bug-Module-Checkstyle [...] rt.cpan.org
From: Adam Kennedy <adam [...] phase-n.com>
Download (untitled) / with headers
text/plain 1.9k
Please note that the original report should have read, "However, note that any directory returned HAS been confirmed to exist, and need NOT be checked further" Adam K Bugs in Module-Checkstyle via RT wrote: Show quoted text
> Greetings, > > This message has been automatically generated in response to the > creation of a trouble ticket regarding: > "NOTICE: Critical changes to File::HomeDir API", > a summary of which appears below. > > There is no need to reply to this message right now. Your ticket has been > assigned an ID of [rt.cpan.org #19334]. Your ticket is accessible > on the web at: > > http://rt.cpan.org/Ticket/Display.html?id=19334 > > Please include the string: > > [rt.cpan.org #19334] > > in the subject line of all future correspondence about this issue. To do so, > you may reply to this message. > > Thank you, > bug-Module-Checkstyle@rt.cpan.org > > ------------------------------------------------------------------------- > You are receiving this bug report because you are a use of File::HomeDir. > > Please note that in a few months, a significant change will be made to > File::HomeDir. > > Currently, all methods in the newer API are documented as always > returning a directory. > > Some downstream code may be relying on this. > > Note that shortly, File::HomeDir will be changed so that for > environments in which there is NO logical home directory, File::HomeDir > will return C<undef> (even in list-context cases). This is intended to > create warnings or error, rather than potentially cause a silent change > in behaviour (if it returned '' or the null list). > > However, note that any directory returned will still have been confirmed > to exist, and need to be checked further. > > This bug has been filed pro-actively, you should resolve it once you > have confirmed that your module can handle false values being returned > for the home directory.


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.