Selvakumar has asked for the wisdom of the Perl Monks concerning the following question:
$text='sd(sd)sd'; $a='sd(sd)sd'; if ($text=~/$a/) { print "yes"; } else { print "no"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: pattern match special char
by moritz (Cardinal) on Sep 11, 2009 at 11:17 UTC | |
|
Re: pattern match special char
by chorankates (Novice) on Sep 11, 2009 at 15:02 UTC | |
|
Re: pattern match special char
by bichonfrise74 (Vicar) on Sep 11, 2009 at 17:48 UTC |