use strict;
use warnings;

my %hash = ('a' => 'b', 'c' => 'd');

print("a is defined") if (defined $hash{'a'});
print("x is defined") if (defined $hash{'x'});
print("b is defined") if (defined $hash{'b'});
    
