http://qs1969.pair.com?node_id=602255


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\$).