Hi Monks,
I need to delete a hash element which has O (or "0" or "0.0")
as its value. ( the key can be anything)
I tried the below code and delete doesn't return 1 when the value is 0
Thank you for your help,
Sush
my %hash ;
my $key ="SOME STUFF";
my $value = "0";
$hash{$key}=$value;
print "$key => $hash{$key} \n ";
delete ($hash{$key}) || print " There is some error : $! ";