Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

$| 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
[Sherkaun]: rename
[LanX]: HansGoetheBier ?
[Discipulus]: ;\@ \[%@] \[%@] respectively LanX

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (13)
As of 2017-05-22 19:24 GMT
Find Nodes?
    Voting Booth?