Skip Menu |

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

Report information
The Basics
Id: 70660
Status: resolved
Priority: 0/
Queue: File-ShareDir-PathClass

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

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



Subject: Returning ::Dir when should be returning ::File
Some of File::ShareDir's functions return paths to files, yet File::ShareDir::PathClass acts as if they all return paths to dirs. return dir( $result ); should be return $sub =~ /_file\z/ ? file( $result ) : dir( $result );
thanks for the report. fixed in v1.112440 note: i credited you in the changes file - for extra credit in git history, i invite you to fork the repository and send a pull request afterwards! :-)
On Thu Sep 01 07:33:16 2011, JQUELIN wrote: Show quoted text
> thanks for the report. fixed in v1.112440 > note: i credited you in the changes file - for extra credit in git > history, i invite you to fork the repository and send a pull request > afterwards! :-)
It wasn't even 5 minutes of work, and it wasn't even for myself. It was for someone asking a question on StackOverflow. I let them know of the new version.