On Tue, Aug 08, 2000 at 01:53:21PM -0400, Ted Ashton wrote:
> I'm not sure if I'm the someone you meant, but if so, the proposal was to make
>
> while (chomp(<FH>)) { ... }
>
> work like
>
> while (<FH>) { chomp; ... }
Oh. I think I'd prefer to see chomp() go away and be replaced by
something like this:
$fh = open "foo" or die;
$fh->auto_chomp = 1; # Insert some appropriate syntax
$fh->newline = "\n"; # Insert some appropriate syntax
while (<$fh>) {
...
}
close $fh;
-Scott
--
Jonathan Scott Duff
[EMAIL PROTECTED]
- Re: Things to remove Nathan Torkington
- Re: Things to remove Damian Conway
- Re: Things to remove Larry Wall
- Re: Things to remove Bart Lateur
- Re: Things to remove Tom Christiansen
- Re: Things to remove Ed Mills
- Re: Things to remove Simply Hao
- Re: Things to remove Jonathan Scott Duff
- Re: Things to remove Jonathan Scott Duff
- Re: Things to remove Ted Ashton
- Re: Things to remove Jonathan Scott Duff
- Re: Things to remove Bart Lateur
- Re: Things to remove Riad Wahby
- Re: Things to remove Bryan C . Warnock
- Re: Things to remove Casey R. Tweten
- Re: Things to remove Bryan C . Warnock
- RE: Things to remove Brust, Corwin
- Re: Things to remove Ed Mills
- Re: Things to remove Damian Conway
- RE: Things to remove Garrett Goebel
- Re: Things to remove Tom Christiansen
