develooper Front page | perl.perl5.porters | Postings from May 2003

Re: [PATCH] [perl #8602] Clarify eof() example comments

Thread Previous
From:
Rafael Garcia-Suarez
Date:
May 9, 2003 14:03
Subject:
Re: [PATCH] [perl #8602] Clarify eof() example comments
Message ID:
20030509230836.1397a96d.rgarciasuarez@free.fr
Casey West wrote:
> It was Friday, May 09, 2003 when Rafael Garcia-Suarez took the soap box, saying:
> : I propose :
> : 
> :     while (<>) {
> : 	if (eof()) {    # check for end of last file
> :             print "--------------\n";
> : 	}
> : 	print;
> : 	last if eof();  # needed if we're reading from the terminal
> :     }
> 
> I accept.

Applied as #19465.
Hey, I can fix doc bugs too ! ;-)

-- 
Unwilling is not *NIX

Thread Previous


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