NAME

MIME::Type::FileName - guess MIME type using file name extensions

SYNOPSIS

in your Perl code:

use MIME::Type::FileName;
my $mimetype = MIME::Type::FileName::guess ("my-file.xls");

SUMMARY

It sounds rather silly, but I can't find a module on CPAN which does something this simple.

Hence I wrote it and released it.

EXPORTS

None.

BUGS

This library is so simple, I guess any bugs would be related to missing mime types. It's probably all very wrong for some reason.

If you think something is missing, please drop me a mail.

AUTHOR & LICENSE

Jean-Michel Hiver - jhiver (at) gmail (dot) com

This module free software and is distributed under the same license as Perl itself. Use it at your own risk.