Thanks a lot frozenwithjoy. That really cleared a lot of my confusions. It's the regular expressions I need to learn.
7stud, thanks for the advice. I bought the Learning Perl book and will definitely follow your advice, finish the book and move onto the intermediate level one.
in reply to Re^3: Perl Sorting Help
in thread needed help