$file = '//Server2/f$/logconn.txt'; print "it exists\n" if -e $file; open (FH,'<$file') || die "a horrible death"; @result = ; close (FH);