Skip Menu |

This queue is for tickets about the Test-Cmd CPAN distribution.

Report information
The Basics
Id: 53619
Status: resolved
Priority: 0/
Queue: Test-Cmd

People
Owner: NEILB [...] cpan.org
Requestors: NKH [...] cpan.org
Cc:
AdminCc:

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



Subject: Unclear documentation
the documentation for sub new says: Fails if a specified temporary working directory or subdirectory cannot be created. Does NOT die or exit on failure, but returns FALSE if the test environment object cannot be created. Could you please rephrase it so the user is not confused and think that a failure returns FALSE while it does return undef. Looking at the code, FALSE is never returned only 'undef' Example: Does NOT die or exit on failure. On error, ie: a specified temporary working directory or subdirectory cannot be created, the sub will fail and return 'undef'.
Thanks -- fixed in 1.06