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]

Reply via email to