Changes for version 0.37 - 2026-05-19

  • Honor XDG_DATA_HOME precedence for extension globs, so a glob entry from a higher-priority data dir overrides one from a lower-priority dir instead of being silently shadowed (#62, liujianqiang-niu).
  • Fix open() precedence and stale filehandle bugs in File::MimeInfo::default and File::MimeInfo::Magic.
  • Don't die when @ARGV contains bytes that are invalid in the current locale; decode leniently and continue.
  • Refactor resolvelink to use Cwd::abs_path instead of a hand-rolled loop.
  • mimetype/mimeopen: quote filenames in diagnostic output via B::cstring so unusual characters render unambiguously.

Documentation

various code snippets
Open files by mimetype
Determine file type

Modules

Determine file type from the file name
Find programs to open a file by mimetype
Determine file type with magic
Open files by mimetype "Rox style"