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

Re^2: CGI.pm table function memory usage

by isotope (Deacon)
on Sep 06, 2006 at 22:19 UTC ( [id://571558]=note: print w/replies, xml ) Need Help??


in reply to Re: CGI.pm table function memory usage
in thread CGI.pm table function memory usage

...and on top of that, instead of pushing all those table rows into @rows and then printing the whole array, you can be a little bit gentler on your memory by just printing the rows as you go like this:
print FH CGI->start_table; for(whatever){ print FH CGI->Tr(CGI->td(...)) } print FH CGI->end_table;


--isotope

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-18 22:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found