http://www.perlmonks.org?node_id=1018310


in reply to Re^2: Processing words in a file.
in thread Processing words in a file.

Also, I need a condition like this: If, $first_word == xyz, followed by if $second_word == abc as the lines have same format, I want the loop to be on a per line basis. ---LOOP SHOULD BE ON PER LINE BASIS