Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Re: Re: Re: cgi buffer flush

by fuzzyping (Chaplain)
on Mar 09, 2002 at 18:39 UTC ( #150596=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: cgi buffer flush
in thread cgi buffer flush

Makes perfect sense, but under what circumstances would $|=-1, unless those where you specifically defined it as such? I can see where it would be a much better idea to use $|=1 so you don't mistakenly define $| to 2 (or higher).

OTOH, why haven't more folks discussed the use of the FileHandle or IO modules that support the autoflush method? Wouldn't that negate this argument altogether?

-fuzzyping

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: cgi buffer flush
by dvergin (Monsignor) on Mar 09, 2002 at 20:55 UTC
          so you don't mistakenly define $| to 2...

    That won't happen. See my response to dorko for a demonstration of the magical character of $|.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://150596]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2021-10-24 23:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (89 votes). Check out past polls.

    Notices?