Perl: the Markov chain saw | |
PerlMonks |
Re^3: Redefining chomp()by Roy Johnson (Monsignor) |
on Mar 24, 2004 at 18:48 UTC ( [id://339509]=note: print w/replies, xml ) | Need Help?? |
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
|
|