Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Reading from a pipe line by line

by ikegami (Patriarch)
on Jan 17, 2006 at 20:30 UTC ( [id://523828]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sysread($handle, my $message, -s $handle);
    
  2. or download this
    my %buf;
    
    ...
       die("Unable to read from pipe: Premature end of file\n")
          if $buf{$_}{offset};
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-04-24 22:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found