in reply to Need help with string and file manipulation

To tachyon's excellent suggestion(s), I would add that you should look at our Tutorials section, which, in addition to providing a solution to essentially the same problem you are proposing, will give you enough of an overview of Perl that you could write this yourself.

Impossible Robot
  • Comment on Re: Need help with string and file manipulation