MIME-Types reviews


RSS | Module Info | Add a review of MIME-Types

MIME-Types (1.26) ***

The object-oriented interface is a bit cumbersome, e.g. $type = (MIME::Types->new)->type(shift).

I don't understand the relationship between the MIME::Types and MIME::Type modules: they seem to have the same POD.

I just want to be able to get a MIME-Type from an extension, and to get a list of extensions associated with a MIME-Type.

A bigger annoyance is that the list is rather small.

I wish it could give a "common" extension for MIME-Type (in particular, a 3-character extension), so that I can use it for normalising file names.

Moaning aside, I was able to get what I needed from it quickly.

Edit: I have since written a module Media::Type::Simple that takes care of my moans...