Skip Menu |

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

Report information
The Basics
Id: 19541
Status: new
Priority: 0/
Queue: File-Type

People
Owner: Nobody in particular
Requestors: hrlawrenz [...] gmail.com
Cc:
AdminCc:

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



Subject: Module doesn't handle files with names starting with mode characters.
When checking the type of a file with a name such as "-" the module will hang because the IO::File->new() interprets the character as being a mode string. Adding the mode argument to the IO::File->new() call will fix this. Thanks, Hans Lawrenz