By blank, do you mean completely empty (except for the final \n)? Or do you mean empty except for whitespace?
# completely empty except for trailing newline... next if $line eq "\n"; # Any amount of whitespace permitted.... next if $line =~ /^\s+$/;
HTH
Dave
In reply to Re: regexp for blank lines
by davido
in thread regexp for blank lines
by cspears
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |