open RESTART, "x:\\myfiles\file.txt" or die; while (<RESTART>) { } die "Read error: $!" if $!; close(RESTART) or die "Close error: $!";
In reply to Re: Detecting read errors whilst reading from a network drive
by iburrell
in thread Detecting read errors whilst reading from a network drive
by Scarborough
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |