Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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?

Replies are listed 'Best First'.
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1028960]
and the universe expands...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2018-03-24 04:41 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (297 votes). Check out past polls.