Thus it was written in the epistle of Bart Lateur,
> On Fri, 4 Aug 2000 10:03:28 -0400, Ted Ashton wrote:
>
> >If we've decided that chomp isn't going to return the clippings, would it not
> >seem prudent to make
> > while (chomp(<ARGV>))
> >
> >work like
> > while (<ARGV>)
>
> You mean, like, the -l command line switch? (see perlrun)
>
> chomp() on input, append newlines on print (though $\).
Related, I suppose. Currently 'while (<ARGV>)' means 'while ($_ = <ARGV>)'.
I propose making 'while (chomp(<ARGV>))' mean
while (<ARGV>) {
chomp;
. . .
]
Ted
--
Ted Ashton ([EMAIL PROTECTED]), Info Sys, Southern Adventist University
==========================================================
For a physicist mathematics is not just a tool by means of which phenomena
can be calculated, it is the main source of concepts and principles by means
of which new theories can be created.
-- Dyson, Freeman
==========================================================
Deep thoughts to be found at http://www.southern.edu/~ashted
- Re: RFC: Filehandle type-defining punctuation Tom Christiansen
- Re: RFC: Filehandle type-defining punctuation Nathan Wiger
- Re: RFC: Filehandle type-defining punctuation Glenn Linderman
- Re: RFC: Filehandle type-defining punctuation Tom Christiansen
- Re: RFC: Filehandle type-defining punctuation Nathan Wiger
- Re: RFC: Filehandle type-defining punctuation Ted Ashton
- Re: RFC: Filehandle type-defining punctuation Johan Vromans
- Re: RFC: Filehandle type-defining punctuation Tom Christiansen
- Re: RFC: Filehandle type-defining punctuation Ted Ashton
- Re: RFC: Filehandle type-defining punctuation Bart Lateur
- Re: RFC: Filehandle type-defining punctuation Ted Ashton
- Re: RFC: Filehandle type-defining punctuation Nathan Torkington
- Re: RFC: Filehandle type-defining punctuation Peter Scott
- Re: RFC: Filehandle type-defining punctuation Nathan Wiger
- Re: RFC: Filehandle type-defining punctuation Nick Ing-Simmons
- Re: RFC: Filehandle type-defining punctuation Jonathan Scott Duff
- Re: RFC: Filehandle type-defining punctuation Piers Cawley
- Re: RFC: Filehandle type-defining punctuation Simon Cozens
- Re: RFC: Filehandle type-defining punctuation Tom Christiansen
- Re: RFC: Filehandle type-defining punctuation Ted Ashton
- Re: RFC: Filehandle type-defining punctuation Peter Scott
