[ale] perl, *nix, or user error

Fletch fletch at phydeaux.org
Wed Apr 3 16:56:53 EST 2002


>>>>> "Cade" == Cade Thacker <linux at cade.org> writes:


[...]

    Cade> It will print things out one at a time if I put a '\n' at
    Cade> the end of any 'print' lines, but I want the count on one
    Cade> line.

    Cade> Can anyone help? Do I need to flush the buffer or something?

        Yes, you're `suffering from buffering'.  Do a google search
for that term for MJD's article of the same name, and look in perldoc
perlvar for $|.

-- 
Fletch                | "If you find my answers frightening,       __`'/|
fletch at phydeaux.org   |  Vincent, you should cease askin'          \ o.O'
770 933-0600 x211(w)  |  scary questions." -- Jules                =(___)=
                      |                                               U

---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list