A little friendlier outputwhile (<>) { print __LINE__ " | This line is blank\n" if /^$/; }
Originally posted as a Categorized Answer.
In reply to Re: How do I test for a blank line when reading from a file?
by abhishek_akj
in thread How do I test for a blank line when reading from a file?
by bravismore
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |