for my $var (@vars) { print "Value: " . $hash_ref->{lc $var} . "\n" if exists $hash_ref->{lc $var}; }