neeha has asked for the wisdom of the Perl Monks concerning the following question:
Here $2 is the values in the parameters.$line =~ s#$methodname\(($2)\)#private $methodname($2)#g
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: substitution of a string with Square brackets.
by GrandFather (Saint) on Mar 20, 2006 at 10:41 UTC | |
Re: substitution of a string with Square brackets.
by salva (Canon) on Mar 20, 2006 at 10:31 UTC | |
Re: substitution of a string with Square brackets.
by Samy_rio (Vicar) on Mar 20, 2006 at 10:37 UTC | |
Re: substitution of a string with Square brackets.
by Melly (Chaplain) on Mar 20, 2006 at 10:38 UTC | |
Re: substitution of a string with Square brackets.
by mickeyn (Priest) on Mar 20, 2006 at 10:38 UTC |