++ed by:

5 PAUSE users
2 non-PAUSE users.

Dave Rolsky
and 4 contributors


  • File::LibMagic - Determine MIME types of data or files using libmagic

Changes for version 1.12

  • The constructor now accepts named params. In addition to a magic_file param, it now accepts follow_symlinks and uncompress params. These do what you'd expect, tell the object to follow symlinks and/or uncompress files when getting info from them. The old single parameter constructor is still supported, but is no longer documented.
  • The old APIs are now called "discouraged" rather than "deprecated" in the documentation. I have no plan to remove these APIs any time soon or to make them warn, so "deprecated" was too strong a word.
  • Changed a test to hopefully skip rather than fail on OpenBSD systems.