|Perl: the Markov chain saw|
Re: netBEUI win32 CGI and other stuffby Anonymous Monk
|on May 26, 2000 at 11:45 UTC||Need Help??|
Opps this should be readable
this is a bit cleaner.
open(FH, "//server/path/to/file") or die $!;
for a bit of an explanation:
Perl sees the \ as a meta escape in " strings.
"\\server\path\to\file" becomes "serverpathtofile"
there are the solutions:
unix path symantics:
this works because perl understands both even on NT
' quoted string
this works because single quoted strings ignore meta chars.
Hope this helped.