|We don't bite newbies here... much|
Possible Match Problemby Anonymous Monk
|on Jan 18, 2012 at 22:01 UTC||Need Help??|
Anonymous Monk has asked for the
wisdom of the Perl Monks concerning the following question:
The following code produces this error:
Unmatched ( in regex; marked by <-- HERE in m/Hi( <-- HERE / at match_problem.pl line 14
But only if $str1 or $str2 have an upper case letter! No problem if both are lower case. Also, no problem with punctuation marks other than parentheses.
Very strange; any insight will be highly appreciated.
I'm only moderately knowledgeable; would appreciate as simply-stated an answer is possible.
Here is the code: