Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 ( #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
Node Status?
node history
Node Type: note [id://859042]
help
Chatterbox?
[chacham]: and with that, i must be off too bed *yawn* nighty nite

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2017-06-26 21:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (594 votes). Check out past polls.