P
Peng Yu
Whenever, I want to print a hash for inspection of its content. I
could write the following while loop. But I feel this is a common task
and probably should be factor out into a module. Could you please let
me know if there is a well designed module that can print an
arbitrarily complex hash?
while (($key, $value) = each(%coins)){
print $key.", ".$value."\n";
}
could write the following while loop. But I feel this is a common task
and probably should be factor out into a module. Could you please let
me know if there is a well designed module that can print an
arbitrarily complex hash?
while (($key, $value) = each(%coins)){
print $key.", ".$value."\n";
}