open(MENU, "\\\\servername\\sharename\\path\\tofile.inc") or die "Cannot open: $!"; while () {print} close MENU;