At the time of this review, this module doesn't work in forked environments due to its use of an internally cached filehandle. The bug for the issue is nine months old now :-/
Otherwise, I would use this module over File::Type, particularly if you need to get a MIME type for a text file (File::Type tends to call them all application/octet-stream, whereas this module gets it right).
2 out of 2 found this review helpful. Was this review helpful to you? Yes No