I second all the great suggestions above and I would also like to add "Data Munging with Perl" by David Cross
ISBN 1930110006. While this book is no substitute for "Learning Perl" it will give you hands-on guidance for the task that you specified and more.