in reply to Re: Q: So you think you're good with structures? A: Umm... Yes!
in thread So you think you're good with structures?

Ooops. In the recursive function, change the last few lines to:
pop @tables_seens; return @records; }
This allows you to remove the @tables_seens = () line in the control section.

I am sorry about forgetting that. I thought about doing a pop, but the dataset you gave at first didn't find that bug. *blushes*

------
/me wants to be the brightest bulb in the chandelier!