in reply to replacing backward slash with forward slash

Try single-quoting your input strings.

Then read Quote Like Operators and The Gory Details of Parsing Quoted Constructs in perlop.


Dave

  • Comment on Re: replacing backward slash with forward slash

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.