Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: STDOUT buffering problem

by Khen1950fx (Canon)
on Apr 16, 2013 at 16:46 UTC ( #1028960=note: print w/ replies, xml ) Need Help??


in reply to STDOUT buffering problem

I noticed that you turned on autoflush twice. I would rather see something like this:

#!/usr/bin/perl -l use strict; use warnings; use Getopt::Long; use Image::Magick; use IO::Handle (); STDOUT->autoflush(1);
Easier on the eyes, no?


Comment on Re: STDOUT buffering problem
Download Code
Re^2: STDOUT buffering problem
by illtud (Initiate) on Apr 17, 2013 at 14:55 UTC

    The code snippet was what was left from stripping the full script down to just enough to illustrate the problem, and I had been peppering it with many attempts to fix the buffering issue. It's not production.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (10)
As of 2014-12-28 03:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (178 votes), past polls