in reply to Parsing A File

Step 1: Learn Perl.

Step 2: Define problem.

Step 3: Write code to solve problem.

Step 4: Test code.

Step 5: Write code to fix issues found by testing.

Step 6: Go to Step 4.