in reply to Re: REGEX Non-Destructive Flag
in thread REGEX Non-Destructive Flag
my $str1 = "How-Are-You-Doing" my $str2 = $str1 $str2 =~ s/-/ /; print $str2; ____OUTPUT____ Hello How Are You Doing
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: REGEX Non-Destructive Flag
by MidLifeXis (Monsignor) on Jan 10, 2012 at 18:08 UTC |