libfile-libmagic-perl | Perl interface to libmagic for determining file type | Mehr ...
The File::LibMagic module is a simple perl interface to libmagic from the file-4.x or file-5.x package from Christos Zoulas (ftp://ftp.astron.com/pub/file/). . Libmagic is a library for detecting file type, and works like file(1).