Of course if LWP is installed there's always the LWP::MediaTypes module and its guess_media_type function.
In reply to Re: Parsing /etc/mime.types into something usable
by Fletch
in thread Parsing /etc/mime.types into something usable
by Dogma
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |