in reply to Can I make Perl ignore a special char when matching?

Just copy $str to another variable, remove the special char from that copy before you try to match it.
  • Comment on Re: Can I make Perl ignore a special char when matching?