Could you please let me know what is wrong step I am doing?
You're using the qr operator as if it were the m operator (match), but they're not the same. See Regexp Quote-Like Operators in perlop
And you only quotemeta arbitrary text you wish to match verbatim, not regex patterns.
You can build an efficient regex pattern out of a list of arbitrary text with Regex::PreSuf.
In reply to Re^3: unless condition not working
by Anonymous Monk
in thread unless condition not working
by perlavi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |