in reply to Re^3: RegEX Doubt
in thread RegEX Doubt

If you have a definite and limited number of possibilities, you might use a hash instead of a series of if ... elsif ... else conditions. Please provide some details for a more knowledgeable answer.