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


in reply to Re: Unable to use if condition inside foreach loop using perl?
in thread Unable to use if condition inside foreach loop using perl?

There am checking for if the line starts with the word REVISION_LOCATION then the loop as follows.