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