$hash{'bar'} = undef; if(defined $hash{'bar'}){print "false"} if($hash{'bar'}){print "false"}