in reply to Re: Detecting read errors whilst reading from a network drive
in thread Detecting read errors whilst reading from a network drive

The file is already open. He's reading the file. There is a network failure and he can't read the file anymore. There should be an error in $! and $^E.
  • Comment on Re: Re: Detecting read errors whilst reading from a network drive

Replies are listed 'Best First'.
Re: Re: Re: Detecting read errors whilst reading from a network drive
by crabbdean (Pilgrim) on Apr 14, 2004 at 12:37 UTC
    Well yes. But if the only indicator that your network just failed is the $! and $^E then I'd suggest hiring better network administrator and getting better network monitors haha! Sorry couldn't resist. :-) I just get see the chaos that goes on around my work when the network dies. haha. I was running a script once when my network went down. Besides the thought of "Oh hell, did I just do that?" it was pretty obvious why my script failed.

    Dean
    The Funkster of Mirth
    Programming these days takes more than a lone avenger with a compiler. - sam
    RFC1149: A Standard for the Transmission of IP Datagrams on Avian Carriers