in reply to
netBEUI win32 CGI and other stuff
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.