in reply to Re: no good a chomping
in thread no good a chomping

What it does is destructively removing trailing whitespace from a string

If I'm not completely wrong, chomp removes a \n from the end of a string and not all the whitespace.

Replies are listed 'Best First'.
Re: Re: Re: no good a chomping
by Lachesis (Friar) on Jun 13, 2003 at 12:13 UTC
    <Pedant_alert> chomp removes the current value of $/ from the end of the string. </Pedant_alert>