$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
In reply to Re: Perl - Read a file on another server
by eejack
in thread Perl - Read a file on another server
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |