Skip Menu |

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

Report information
The Basics
Id: 19333
Status: open
Priority: 0/
Queue: Module-Build-Convert

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
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 #19333] AutoReply: NOTICE: Critical changes to File::HomeDir API
Date: Thu, 18 May 2006 20:16:28 +1000
To: bug-Module-Build-Convert [...] rt.cpan.org
From: Adam Kennedy <adam [...] phase-n.com>
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-Build-Convert 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 #19333]. Your ticket is accessible > on the web at: > > http://rt.cpan.org/Ticket/Display.html?id=19333 > > Please include the string: > > [rt.cpan.org #19333] > > in the subject line of all future correspondence about this issue. To do so, > you may reply to this message. > > Thank you, > bug-Module-Build-Convert@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.