Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Re: Display Database table with CGI and HTML::Template

by orkysoft (Friar)
on Oct 29, 2003 at 22:44 UTC ( #303138=note: print w/ replies, xml ) Need Help??


in reply to Re: Display Database table with CGI and HTML::Template
in thread Display Database table with CGI and HTML::Template

I think your example is too complicated. It made me look twice, so anyone unfamiliar with HTML::Template will likely not understand it at all. You're actually using a template and inserting its output into another template. Pretty confusing.

A simpler method would be to use a TMPL_LOOP for the table of data entries, and put the actual data in a suitable data structure for HTML::Template to make a nice table in the TMPL_LOOP.

On second thought, that might not be much simpler at all, since it requires understanding of complicated data structures.

--

Morbo: "Windmills do not work that way!"


Comment on Re: Re: Display Database table with CGI and HTML::Template

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (14)
As of 2014-07-23 10:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (139 votes), past polls