Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Backslashes in command arguements

by smithers (Friar)
on Feb 27, 2007 at 05:17 UTC ( [id://602255]=note: print w/replies, xml ) Need Help??


in reply to Backslashes in command arguements

tygu: you can often also use unix-style slashes instead of the Windows-style backslash escaped with another backslash. For example, on my XP laptop any of below work fine with glob:
my @filelist = glob( "c:\\temp\\*" ); my @filelist = glob( "c:/temp/*" ); my @filelist = glob( "//foobar/CDShare/*" ); my @filelist = glob( "//foobar/c\$/temp/*" );
Note that the Windows Admin share (C$) is shown with the $ escaped (C\$).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2025-06-17 22:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.