Do you get something that fits your expectations better if you leave the conditionals off the diagnostic prints?
The loop in buildSQL() looks funny. The list keys($tables{$table}) is going to be empty. I suspect you mean: foreach my $child ( keys %{$tables{$table}})
I could make better sense of this if I could see the boring parts where you set up the data.
After Compline,
Zaxo
In reply to Re: Two recursive functions returning in unexpected order
by Zaxo
in thread Two recursive functions returning in unexpected order
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |