Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: Single Quotes - how to avoid any escape processing?

by BillKSmith (Chaplain)
on Jan 31, 2013 at 21:40 UTC ( #1016398=note: print w/ replies, xml ) Need Help??


in reply to Re: Single Quotes - how to avoid any escape processing?
in thread Single Quotes - how to avoid any escape processing?

Things get even worse when you windows path includes whitespace. (e.g. c:\Documents and Settings\.....). Windows requires quotes around the path. Those quotes must be part of the perl string. The section of documentation that you just cited has everything you need to know, but it is not easy.

Bill


Comment on Re^2: Single Quotes - how to avoid any escape processing?
Download Code
Re^3: Single Quotes - how to avoid any escape processing?
by temporal (Pilgrim) on Jan 31, 2013 at 23:14 UTC

    Oh yeah, fun stuff. I think at that point I'd start using one of the path parsing/porting modules to handle it all.

    iirc File::Path and File::Basename intelligently handle paths with spaces on Windows.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2014-07-26 16:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (178 votes), past polls