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

Re: Backslashes in command arguements

by smithers (Friar)
on Feb 27, 2007 at 05:17 UTC ( #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? | Other CB clients
Other Users?
Others surveying the Monastery: (1)
As of 2023-10-03 00:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?