develooper Front page | perl.perl5.porters | Postings from November 1999

Re: [ID 19991119.003] chomp() can be confusing

Thread Previous | Thread Next
From:
Larry Wall
Date:
November 19, 1999 16:09
Subject:
Re: [ID 19991119.003] chomp() can be confusing
Message ID:
199911200006.QAA24176@kiev.wall.org
M.J.T. Guy writes:
: I think the "right" way of doing this is by providing some sort of
: filter apparatus on files.    Things of this sort were discussed in
: the context of unicode.    I don't recall where (if anywhere) that
: ended.

Ended?  It hasn't started yet...

(Can you tell I've spent too much time rewriting the Camel book today?  :-)

Yes, input filters should handle this.  And a good case can be made
that the *default* input filter should handle it, along with UTF-8
recognition.  It also has to be blazing fast, of course, along with
reading your mind.  But that's Perl for the coarse.  Or something like
that.

Larry

Thread Previous | Thread Next


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