anu_1 has asked for the wisdom of the Perl Monks concerning the following question:
How to replace single backslash in windows path to double backslashes $path="c:\abc\xyz" == > "c:\\abc\\xyz" I tried ~s/\\/\\\\/g but it didn't work Thanks for help
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: windows path problem
by toolic (Bishop) on Aug 19, 2010 at 15:08 UTC | |
by anu_1 (Acolyte) on Aug 20, 2010 at 03:53 UTC | |
Re: windows path problem
by ikegami (Patriarch) on Aug 19, 2010 at 15:34 UTC | |
by TomDLux (Vicar) on Aug 19, 2010 at 19:44 UTC | |
by ikegami (Patriarch) on Aug 19, 2010 at 20:13 UTC | |
Re: windows path problem
by murugu (Curate) on Aug 19, 2010 at 15:33 UTC | |
by anu_1 (Acolyte) on Aug 20, 2010 at 03:54 UTC |
Back to
Seekers of Perl Wisdom