Audiofile::Info was just supposed to be a quick hack to satisfy a particular itch that I had. but it seems to have attracted quite a lot of interest. Some people seem to have plans to populate the Audiofile::* namespace with all sorts of interesting modules.
Which means there's a bit of work to do on Audiofile::Info. Currently it works with MP3::ID3Lib and Ogg::Vorbis::Headers because they were the two modules that I had installed. Of course that's not true of everyone and other people have their own favourite MP3 and/or Ogg Vorbis header processing module. So Audiofile::Info needs to allow people to choose which "driver" modules to use.
Had a long discussion about this with Trelane at the london.pm meeting last night and we think we have the beginnings of a plan. It's kind of a combination of the approaches used by DBI and XML::SAX (with a few other ideas thrown in for good measure). I'm hoping to get a discussion on the details going on the london.pm so if you're interested in the topic feel free to joinj in.
But it looks like my quick hack is about to expand out of all proportion.