Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: mysterious error of read function in solaris

by JavaFan (Canon)
on Jan 19, 2012 at 15:46 UTC ( #948794=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $r;
    while ($r = read ...) {
        ... do stuff here ...
    }
    die "read failed: $!" unless defined $r;
    
  2. or download this
    while (read(...) // die "read failed: $!") {
        ... do stuff here ...
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (11)
As of 2016-07-27 20:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (248 votes). Check out past polls.