in reply to UNC vs. standard Perl functions
>perl -e "print '\\server\share'" \server\share
Don't you mean
>perl -e "print '\\\\server\\share'" \\server\share >perl -e "print -d '\\\\server\\share'" 1
Remember,
\ and ' must be espcaped with \ in single-quoted string literals.
\ and ", $ and @ must be espcaped with \ in double-quoted string literals.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: UNC vs. standard Perl functions
by Errto (Vicar) on Mar 16, 2005 at 15:05 UTC | |
by ikegami (Patriarch) on Mar 16, 2005 at 15:25 UTC | |
Re^2: UNC vs. standard Perl functions
by crenz (Priest) on Mar 16, 2005 at 14:59 UTC | |
by Errto (Vicar) on Mar 16, 2005 at 15:06 UTC |