pileswasp has asked for the wisdom of the Perl Monks concerning the following question:
"'$|++' is nasty. Set it to 1, don't rely on it not being -1."
That seems logical enough in a 'better safe than sorry' sort of way, but, out of interest, are there any situations where a CGI script would start out with $| being -1 and what are they?
Edit: chipmunk 2001-06-01
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: $ != 0 at start of script
by runrig (Abbot) on Jun 01, 2001 at 20:41 UTC | |
|
Re: $ = 0 at start of script
by japhy (Canon) on Jun 01, 2001 at 21:11 UTC | |
|
Re: $= 0 at start of script
by petral (Curate) on Jun 03, 2001 at 19:44 UTC |