Which yields...my $slashes = '\\\\10.0.0.1\path\to\foo'; print "before: $slashes\n"; $slashes =~ s/\\/\//g; print "after.: $slashes\n";
before: \\10.0.0.1\path\to\foo after.: //10.0.0.1/path/to/foo
In reply to Re: transliteration of a string
by perlofwisdom
in thread transliteration of a string
by Brad.Walker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |