Determine file type
This module can be used to determine the mime type of a file. It tries to implement the freedesktop specification for a shared MIME database.
This package only uses the globs file. No real magic checking is used. The File::MimeInfo::Magic package is provided for magic typing.
If you want to determine the mimetype of data in a memory buffer you should use File::MimeInfo::Magic in combination with IO::Scalar.
This module loads the various data files when needed. If you want to hash data earlier see the 'rehash' methods below.