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

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

Thread Previous | Thread Next
Tom Christiansen
November 19, 1999 18:01
Re: [ID 19991119.003] chomp() can be confusing
Message ID:
>: I expect chomp() to remove one and only one terminating instance of the
>: precise string to which $/ has been set; no more, no less.  What were
>: you expecting?

>I expect people to expect Perl to do the right thing.

And that would be what, sniff around the stdio buffer the first time you
play with it and figure out what it smells like?


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About