Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 browsing the Monastery: (11)
As of 2014-09-17 11:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (72 votes), past polls