Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

$| and 5.8.2

by smackdab (Pilgrim)
on Dec 13, 2003 at 06:59 UTC ( #314500=perlquestion: print w/replies, xml ) Need Help??
smackdab has asked for the wisdom of the Perl Monks concerning the following question:

On Win2K and 5.6.1 I never set $| true and
I still got print's to STDIO to show up even without a "\n"
Now with 5.8.2, I had to set $| true.
Just checking to make sure this is the correct "fix"

Replies are listed 'Best First'.
Re: $| and 5.8.2
by Zaxo (Archbishop) on Dec 13, 2003 at 07:08 UTC

    How do you open STDIO? Are you speaking of STDOUT?

    Please post code that shows the problem. IO buffers are always flushed when they are closed.

    After Compline,

      DARN, yes, I mean STDOUT. Basically, no output to the console shows up until I print the "\n", which is different that 5.6.1 (at least for me ;-)h

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://314500]
Approved by davido
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2017-11-19 00:19 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (278 votes). Check out past polls.