Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: tracing system calls a perl script is making

by shmem (Chancellor)
on May 31, 2013 at 17:56 UTC ( [id://1036281]=note: print w/replies, xml ) Need Help??


in reply to Re^2: tracing system calls a perl script is making
in thread tracing system calls a perl script is making

Unfortunately I think my reading stdout with pipes is flawed!

Not necessarily so. More probably you are "suffering from buffering":

  • printing to the terminal is line buffered
  • printing elsewhere is block buffered

Try inserting

$| = 1;

at the top of your program. See perlvar.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-04-25 13:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found