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

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

by shmem (Canon)
on May 31, 2013 at 17:56 UTC ( #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.


Comment on Re^3: tracing system calls a perl script is making
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2014-08-29 20:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (288 votes), past polls