Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 scrutinizing the Monastery: (2)
As of 2024-04-20 09:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found