NAME

MIME::Expander::Guess::FileName - An implementation for guessing mime type

SYNOPSIS

use MIME::Expander;
use IO::All;

my $filename = $ARGV[0];
my $contents < io $filename;

my $me = MIME::Expander->new({
                guess_type => ['MMagic','FileName'],
                });

my $type = $me->guess_type_by_contents(
            \$contents, {filename => $filename});

DESCRIPTION

Guess the mime type from filename using MIME::Type::FileName.

SEE ALSO

MIME::Expander::Guess

MIME::Type::FileName