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


in reply to Checking value of an extracted variable

Please show the code you have written so far.

using split I am able to extract the SEL_BLOCK keyword. But the issue is I am unable to check the value of SEL_BLOCK

This surprises me. You seem to have come far enough to extract the string on the left of the = sign, why can't you work with the string on right of the = sign?