Hehe! You're just the person for freshmeat. Do a simple search for "CD database" and you'll get about a gagillion hits. While probably not Perl, most of them offer some type of Web interface using PHP. Find one that automagically scans whatever dir you need to.