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

Re^3: mysterious error of read function in solaris

by JavaFan (Canon)
on Jan 19, 2012 at 15:46 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://948794]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2024-03-19 11:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found