develooper Front page | perl.fwp | Postings from January 2002

Re: even.pl solutions

Thread Previous | Thread Next
From:
Stephen Turner
Date:
January 29, 2002 10:03
Subject:
Re: even.pl solutions
Message ID:
Pine.LNX.3.96.1020129175403.6632B-100000@gentoo
On Tue, 29 Jan 2002, Jeff 'japhy' Pinyan wrote:
> 
> Well, because $| is the magical flip-flop variable, so long as you -- it
> and not ++ it.
> 
>   for (1 .. 6) {
>     print --$|, "\n";
>   }
> 

This I didn't know. Where is this documented? man perlvar (nope)? Camel book
page 237 or 670 (NAFAICS)?

-- 
Stephen Turner, Cambridge, UK    http://homepage.ntlworld.com/adelie/stephen/
"This is Henman's 8th Wimbledon, and he's only lost 7 matches." BBC, 2/Jul/01


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About