in reply to MySQL Table Creation using DBI

I've done a lot of code like this...

Requires a lot of loops dereferencing the hashrefs

foreach $key(keys %hash) #normal hash
{
value=$hash{$key}
}

foreach $key(keys %$hashref) #hashref
{
value=$$hashref{$key}
}

You can drop down the chain by uses hashes to reference your hashrefs, and instantiating new loops.

foreach $key(keys %$hashref)
{
$hashrefref=$$hashref;
foreach $key(keys $$hashrefref)
{
etc etc
}
}

I may be a bit off (it's 1am) , it was something like this though