Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Reading non-blockingly / "awk has to be better for something."

by james2vegas (Chaplain)
on Jul 28, 2012 at 09:48 UTC ( [id://984176]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use IO::Handle;
    my $fh = *STDIN;
    ...
      print "$data";   # split $data into lines on CR|LF put the first lin
    +e on the end of the last line of the previous block (use an array per
    +haps)
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2024-03-28 22:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found