if ($var =~ /^\s*$/) { # Do blank procedure } else { # Do nonblank procedure } [download]
In reply to Re^4: Regular Expression Help! by marinersk in thread Regular Expression Help! by Anonymous Monk