open(MENU, 'http://servername/global/admin_menu.inc') or die "$!"; open(MENU, '\\servername\global\admin_menu.inc') or die "$!"; open(MENU, '\\servername\share_name\global\admin_menu.inc') or die "$!"; open(MENU, '//servername/global/admin_menu.inc') or die "$!"; while (Any guidance is greatly appreciated.
open(MENU, $bestpath ) or open(MENU, $nextbest ) or open(MENU, $worseway ) or open(MENU, $fallback ) or die "No way to reach it!"; do_stuff_with MENU; close(MENU) or die "Scary failure trying to close it!";If you're just asking what the right syntax would be for a UNC path, it's \\netbioshost\sharename\path\to\file.ext.
--
[ e d @ h a l l e y . c c ]
perlmonks.org content © perlmonks.org and bkiahg, halley
prlmnks.org © 2006 edmund von der burg (eccles & toad)
v 0.03