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

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

Thread Previous | Thread Next
From:
Tom Christiansen
Date:
November 19, 1999 18:01
Subject:
Re: [ID 19991119.003] chomp() can be confusing
Message ID:
199911200200.TAA16333@jhereg.perl.com
>: 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?

--tom

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