in reply to Detecting read errors whilst reading from a network drive
update: Do a test. Start reading a file from a networked drive (actually through the network) and be sure to sleep in between each read (so you don't need a big file). Then, while your program is running, disconnect your computer from the network (pull cable, whatever) and see what happens (the next readline should fail). Be sure to check $! and $^E. If that doesn't work for you, try Win32API::File for more control.
|
|---|