in reply to Perl - Read a file on another server
$file = '//Server2/f$/logconn.txt'; print "it exists\n" if -e $file; open (FH,'<$file') || die "a horrible death"; @result = <FH>; close (FH);
I get that same error when the file doesn't exist (using -w).
EEjack
|
|---|