Changes for version 0.11

  • Added an @DIRS to be able to overload the XDG_DATA_DIRS path
  • Fixed the code to let "mimetype" determine the mime-type of STDIN
  • Thu Mar 17 2005
  • Fixed a bug in the globs() method, added File::Basename to the dependency list.
  • Added the --all and --magic-only options to "mimetype"
  • Wed Mar 16 2005
  • globs() now returns the matched extension when called in list context
  • Added Cookbook.pm as a kind of FAQ document
  • Applied part of a patch to support reverse lookup of extensions which was also supplied by jgmyers at proofpoint.com This adds the extensions() method and fixes a bug in a regex.
  • Applied a spelling patch supplied by jgmyers at proofpoint.com

Documentation

various code snippets
Determine file type

Modules

Determine file type
Determine file type with magic
Open files by mimetype "Rox style"