in reply to Re^2: Regular Expression Help!
in thread Regular Expression Help!

I think this will do it:
<code> if ( ($var =~ /^\s+$/) or ($var eq "") ){ print "\n All \n"; }else{ print "\n Nothing \n"; }