|
|
| Don't ask to ask, just ask | |
| PerlMonks |
Re: Detecting read errors whilst reading from a network driveby crabbdean (Pilgrim) |
| on Apr 14, 2004 at 12:07 UTC ( #345008=note: print w/ replies, xml ) | Need Help?? |
|
In general yes you'll get an error. The error will be pretty much similar to the one if you had a read error on a local drive. You should try using or die $!; if you want the reasons for the error to be output. At least then your 'die' is a little informative.
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
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||