hi,
You can able to get the values of 10,04,20 by using the following code. But before that one more thing is you have to mention the hash as we have declared in the below code i mean u have to mention the each and every hash element values as anonymous array.
my %hash = ( 4 => [10, "mango"] , 2 => [04, "banana"] , 3 => [20, "
+apple"] );
while(($key,$value) = each (%hash)){
print @$value[0];
}