I am coding a random mp3 player (mainly for practice, since I am already good at downloading and not that great at perl :)).
The directory structure of my /mp3 will always be /mp3/artist/album/*.mp3. I have a working copy (yeah me!) but to search through the directories I am using a couple of foreach loops and some readdir's. This seems a little sloppy and simplistic.