Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: how to prefix\insert back slash to string (windows) path in perl

by imrags (Monk)
on Sep 06, 2010 at 11:16 UTC ( [id://859042]=note: print w/replies, xml ) Need Help??


in reply to how to prefix\insert back slash to string (windows) path in perl

Try this:
$path =~ s/\\/\\\\/g;
Raghu
  • Comment on Re: how to prefix\insert back slash to string (windows) path in perl

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://859042]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2024-04-26 07:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found