Modify files in a directory using perl

Closed - This job posting has been filled and work has been completed.

Job Description

I am looking to have a perl script to modify a column in a series of files in a single directory. I am running v. 5.10.1.

the necessary changes are:

1. sequentially renumber the 4th column (based on the first column, restarting when it changes)
2. skip over rows that begin with MSH and do not write them out to the modified files
3. write files to a directory

Please see the attached for more information.

Open Attachment