http://qs321.pair.com?node_id=583700


in reply to iTunes lacking on CPAN...

Another idea would be to save yourself quite some work by using a service like last.fm.