File::LibMagic might help. I've never used the module myself, but apparently it's a binding to libmagic that the Linux file utility is based upon.
In reply to Re: How to get a files type-description, by ext or mime (any modules?)
by almut
in thread How to get a files type-description, by ext or mime (any modules?)
by isync
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |