Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 cooling their heels in the Monastery: (12)
As of 2015-07-06 15:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (77 votes), past polls