Subject: | Bug with weird filenames |
Whereever there's an open() in the file, it should be replaced with the 3-argument form of open().
I had a file which (due to a renaming error) started with "- ". MP3::Info would just hang when trying to get tag information from the file; turns out, the "- " in the open were causing it to open STDIN. Replacing
open $fh, "< $file\0"
on line 732 (and 3 other places), with
open($fh, "<", $file)
fixed the problem.