in reply to Re: Re: Redefining chomp()
in thread Redefining chomp()
I have trouble understanding how this will remove multiple newlines as you say. Am I missing something?If the trailing /g on an anchored s///g actually had some effect, maybe it would strip off all trailing newlines. But as it is, it doesn't.
The PerlMonk tr/// Advocate
|
---|
In Section
Seekers of Perl Wisdom