Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: mysterious error of read function in solaris

by Anonymous Monk
on Jan 19, 2012 at 13:55 UTC ( #948779=note: print w/ replies, xml ) Need Help??


in reply to mysterious error of read function in solaris

Only check $! right after a system call

open ... or die $!;
close ... or die $!;
print ... or die $!;

my $read = read ...;
die $! unless defined $read;
  • Comment on Re: mysterious error of read function in solaris

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://948779]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (12)
As of 2016-06-28 15:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (359 votes). Check out past polls.