Skip Menu |

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

Report information
The Basics
Id: 75049
Status: open
Priority: 0/
Queue: File-Spec

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

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

Download (untitled) / with headers
text/plain 274b
In File::Spec::Unix, splitdir('') returns the empty list rather than a one-list item with the empty string. I don't think this is correct behavior. sub splitdir { return '' if $_[1] eq ''; return split m|/|, $_[1], -1; # Preserve trailing fields } should fix it.
Download (untitled) / with headers
text/plain 160b
If we did that, a lot of tests would break. If I had my druthers, it would just die when fed the empty string. It's nonsensical on Unix as far as I can tell.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to