This is actually a bug. It just seems that nobody seems to care :) It
would break too many JAPHs which use this.

So, don't depend on it, in case it is ever fixed. 
On Mon, Aug 19, 2002 at 01:17:15PM -0700, John W. Krahn ([EMAIL PROTECTED]) said 
something similar to:
> Bob Showalter wrote:
> Also, $| has an interesting property when you decrement it.
> 
> $ perl -le'for (1 .. 6) {$|--; print $|}'
> 1
> 0
> 1
> 0
> 1
> 0
> 


The following makes sense, since $| only has a range of [0,1], it
should stay at 1.. unlike the $-- bug.

> $ perl -le'for (1 .. 6) {$|++; print $|}'
> 1
> 1
> 1
> 1
> 1
> 1

Cheers,
Kevin

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Number one ain't you... You ain't even number two.
        -- Frank Zappa

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to