Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Printing Tables...

by robartes (Priest)
on Mar 06, 2003 at 22:18 UTC ( [id://241015]=note: print w/replies, xml ) Need Help??


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-

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://241015]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-25 23:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found