while (<>) { print "blank line detected\n" if /^$/; }
In reply to Re: How do I test for a blank line when reading from a file?
by runrig
in thread How do I test for a blank line when reading from a file?
by bravismore
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |