In reply to Re: how to check condition and then pattern match by cheekuperl in thread how to check condition and then pattern match by laksh