earlier in the program I'm connecting to 'n' number of databases and listing the tables contained in each. I assign the result to an array and put it in a hash with the key being the db name. TIA, chrisj0while ((my $key, my $value) = each %db_stru) { print "$key contains tables:\n"; foreach my $tbl ($db_stru{$key}) { print "\t$tbl:"; } print "\n"; }
In reply to help with a hash of arrays. by chrisj0
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |