I don't want the '?' to get used as an optional marker thingy in the regexp... I instead want to see if $b is in $a... Help me make this work?
sh$ perl -e '$a = $b = "word?dude"; print "$a $b\n" if $a =~ m/$b/'
In reply to question mark in there by jettero
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |