if (defined $hashtest{abc}) { print qq{Better than 'exists'; check for the value being undef or not undef.\n}; }