|
|
| more useful options | |
| PerlMonks |
Re: Removing blank/empty linesby Anonymous Monk |
| on Dec 11, 2012 at 14:28 UTC ( #1008310=note: print w/ replies, xml ) | Need Help?? |
|
Use a regex like /$\s*^/ to anchor the pattern at both ends and search for zero-or-more occurrences of a space character between.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||