Welcome to the Monastery | |
PerlMonks |
Re: Removing double carriage returnby pvaldes (Chaplain) |
on Aug 20, 2011 at 01:40 UTC ( [id://921351]=note: print w/replies, xml ) | Need Help?? |
match 3 or more carriage returns... maybe like this?
=~ m/\n{3,}/
... so expanding the script provided from GrandFather
or something like this...
In Section
Seekers of Perl Wisdom
|
|