For the Perl module File::MimeInfo I followed the spec as much as possible, including the prio 80 magic checking before checking file extensions. However when using the module people can chose to have only the glob pattern functionality or have the full magic functionality.