Equivalent of Perl chomp?

Jonathan Hogg jonathan at onegoodidea.com
Fri Feb 1 12:59:21 EST 2002


On 1/2/2002 1:32, in article u5js1gd8eecda8 at corp.supernews.com, "Paul
Watson" <pwatson at mail.com> wrote:

> Perl chomp only removes -all- traliing newlines when in paragraph mode.
> Paragraph mode is when $/ is set to "".  The default mode is not paragraph
> mode, so chomp removes only one (1) newline.

*Bleurgh!*

Jonathan (adding one more thing to his Why I Don't Do Perl list...)




More information about the Python-list mailing list