in reply to How do I open a file via UNC

A double backslash evaluates to a single backslash, even with single quotes. Try "\\\\machine\\share\\file" or '\\\\machine\share\file'.

I don't know if Perl's smart enough to convert slashes to backslashes, but if so, you can just use '//machine/share/file'. (I haven't used Perl under Win32 system)