Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
$string = "abcd"; # $input = "d"; OK # $input = "("; ERROR if($string =~ m/($input)/){ print "The string is $string\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problems with matching and metacharacters
by WebHick (Scribe) on Jun 14, 2001 at 19:00 UTC | |
by Anonymous Monk on Jun 14, 2001 at 19:55 UTC | |
by WebHick (Scribe) on Jun 14, 2001 at 20:35 UTC | |
|
Re: Problems with matching and metacharacters
by VSarkiss (Monsignor) on Jun 14, 2001 at 18:57 UTC |