http://www.perlmonks.org?node_id=21826

dumpest has asked for the wisdom of the Perl Monks concerning the following question:

Hello Perl Monks, I have a program that parses through a file line-by-line I was wondering how to use regular expressions to remove blank lines from this file... I'm not sure how to do this...