The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 1.12 - 2015-03-07

  • 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.

Modules

Determine MIME types of data or files using libmagic