in reply to UNC File Tests
>perl -wle"print -e '\\\\tribble\\c$\\bin' ?1:0" 1 >perl -wle"print -e '\\\\tribble\\c$\\bla' ?1:0" 0 >perl -wle"print -e '\\\\baragon\\c$\\bin' ?1:0" 1 >perl -wle"print -e '\\\\baragon\\c$\\bla' ?1:0" 0
Mind you, the code you posted gives syntax errors.
>perl -e"-e \\\\server\\dir1\\dir2" Backslash found where operator expected at -e line 1, near "server\" Backslash found where operator expected at -e line 1, near "dir1\" syntax error at -e line 1, near "server\" Execution of -e aborted due to compilation errors.
That's not what you meant, right?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: UNC File Tests
by pfaulstich (Initiate) on Mar 19, 2010 at 13:06 UTC |