http://www.perlmonks.org?node_id=741292

paulg007 has asked for the wisdom of the Perl Monks concerning the following question:

Hello Monks, I am v new to perl. I have a directory of mp3's 001.mp3-020.mp3 and need to rename them based on the contents of a file (listing.txt) containing the mp3 titles. I have looked at hash's, comparing arrays..... I would have posted the code I have tried but have tried so many different ways its just turned into one big mess!!! appreciate any suggestions you may have.