Changes for version 1.07 - 2014-12-14
- No changes from 1.06.
- SUMMARY OF USER-FACING CHANGES SINCE 1.03
- Added yet another OO API to File::LibMagic. This provides a simpler and more future-proof API which can be expanded on later. The new methods are info_from_string(), info_from_filename(), and info_from_handle(). The latter method allows you to get info about an open filehandle. These new methods return the description, MIME type, and character encoding in one call. This addresses RT #54843 and partially addresses RT #99470.
- Fix compilation with a threaded Perl.
Changes for version 1.06 - 2014-12-13 (TRIAL RELEASE)
- Guard against older versions of libmagic that don't provide magic_version().
- Fix compilation with a threaded Perl.
Changes for version 1.05 - 2014-12-13 (TRIAL RELEASE)
- Added a test that outputs the return value of magic_version() to help me debug test failures.
Changes for version 1.04 - 2014-12-13 (TRIAL RELEASE)
- Added yet another OO API to File::LibMagic. This provides a simpler and more future-proof API which can be expanded on later. The new methods are info_from_string(), info_from_filename(), and info_from_handle(). The latter method allows you to get info about an open filehandle. These new methods return the description, MIME type, and character encoding in one call. This addresses RT #54843 and partially addresses RT #99470.
Modules
Determine MIME types of data or files using libmagic