|Don't ask to ask, just ask|
substitution of a string with Square brackets.by neeha (Novice)
|on Mar 20, 2006 at 10:23 UTC||Need Help??|
neeha has asked for the
wisdom of the Perl Monks concerning the following question:
The below code does some substitution
Here $2 is the values in the parameters.
If the value of $2 is "String str". It works fine
But if value of $2 is "String str".
Unmatched [ in regex; exception occurs.
THis happens only with Square brackets
How can i do the substitution of a string with Square brackets.
Waiting for ur replies.