http://qs321.pair.com?node_id=62350


in reply to replacing blank lines

This might be a roundabout way of doing it:
unless (<FILE> =~ /([a-z]|[A-Z]|[0-9]/) { #delete line }


Thus Spake the Master Programmer:
"After three days without programming, life becomes meaningless."
     ---Tao of Programing