in reply to Printing Tables...

I think you'll have to prefetch the information for cell 2. For example, use a AoH such as:
@AoH = [ { ('header' => "Header cell 1", 'content' => "Content cell 1", ) } , { ('header' => "Header cell 2", 'content' => "Content cell 2", ) } , ] ;
The actual information in the AoH comes from the database, of course. Then, when you print your table, just use the information in the AoH. You'll find that it has many advantages to seperate your data and presentation layers this way.

CU
Robartes-