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

Reply via email to