![]() |
|
No such thing as a small change | |
PerlMonks |
Re: File length ??by thor (Priest) |
on Sep 13, 2002 at 00:06 UTC ( #197401=note: print w/replies, xml ) | Need Help?? |
perl does a wonderful job of pattern matching. Here's what I've got:
This gets rid of lines that have only whitespace. If you want truly blank lines take the \s* out of the regex. thor
In Section
Seekers of Perl Wisdom
|
|