if you wanted to try File::MMagic, i'd suggest the same routine of testing to see it's reliability. or, read through the source to see what it's doing differently than you are.
In reply to RE: Opinions on determining mime type
by geektron
in thread Opinions on determining mime type
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |