Optimize checking for blank line to not use a regex.
Optimize checking for blank line to not use a regex.

Also removes the need for awkward tertiary operator, and makes this
operation far faster: an equivalency check is faster than a regex match.

Mark-Simulacrum/perlboxutil