in reply to How to get a files type-description, by ext or mime (any modules?)

File::LibMagic might help.  I've never used the module myself, but apparently it's a binding to libmagic that the Linux file utility is based upon.

Replies are listed 'Best First'.
Re^2: How to get a files type-description, by ext or mime (any modules?)
by isync (Hermit) on Feb 21, 2010 at 22:38 UTC
    For anyone reading this thread, I'd like to point out that MIME::Type and MIME::Types might be more usable than Media::Type::Simple ...