P
Peng Yu
while ( ($k,$v) = each %hash ) {
print "$k => $v\n";
}
The above code would not print the content of $v, if $v points to
complex data structure such as arrays, hash of arrays, etc.
I'm wondering if there is a convenient function that can print a hash
table recursively into the elements.
print "$k => $v\n";
}
The above code would not print the content of $v, if $v points to
complex data structure such as arrays, hash of arrays, etc.
I'm wondering if there is a convenient function that can print a hash
table recursively into the elements.