in reply to
Re: Re: Re: String Substitution Operator
in thread
String Substitution Operator
By using
$string =~ s!/!-!g
. The exclamation points prevent the "toothpick syndrome" (
s/\//-/g
is a little less readable).
Arjen
Comment on
Re: Re: Re: Re: String Substitution Operator
Select
or
Download
Code
In Section
Seekers of Perl Wisdom