Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

$| 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"
thanks

Comment on $| and 5.8.2
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,
    Zaxo

      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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2014-08-29 10:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (277 votes), past polls