Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
How can I make $c = "hellobobhello" not "hellobobhi"?$a="hi"; $b ="hello"; $c = "hibobhi"; $c=~ s/$a/$b/;
Originally posted as a Categorized Question.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How can a regex match every occurence of a string?
by agoth (Chaplain) on Aug 25, 2000 at 15:17 UTC |
Back to
Seekers of Perl Wisdom