I tried running the program on Windows and got a message that said I don't have a mime-info database. I went to freedesktop.org as the message suggested, but only found *nix oriented packages. Do you know if a Windows package exists for the shared-mime-info database?
"Its not how hard you work, its how much you get done."
Sorry, I didn't test it on Windows. I tried to search a mime-info package for windows but as you noticed it does not exist. If you want I think the script could run nicely under CygWin (I can't test it, I don't have a windows installation). Bye
You really should put that limitation into your OP as a LEADING update, and in your repository copy. There's no point in requiring the (make up a percentage) of Perl users who also use 'doze find out the hard way.
I made some changes in the script to make it work on Windows systems. I tested it using a virtual machine and it seems to do his job quite fine. Now the MIME is retrieved using another module which needs only the extension of the file.