Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: How to iterate by fives?

by caedes (Pilgrim)
on Feb 15, 2003 at 22:37 UTC ( [id://235618]=note: print w/replies, xml ) Need Help??


in reply to How to iterate by fives?

I find that it is awfully cumbersome to write forms and tables with CGI.pm. I suggest using HTML::Template. It lets you write your perl in perl and your html in html.

-caedes

Replies are listed 'Best First'.
Re: Re: How to iterate by fives?
by ilcylic (Scribe) on Feb 16, 2003 at 00:56 UTC
    Yes. HTML::Template++. I've used this module a number of times, and it makes dealing with re-formatting the HTML so much nicer. The other advantage is that you can hand the template file to your web-designer, (who if you are unlucky, does not speak perl) and they can deal with it in their WYSIWYG editor, if it will play nice with non-standard tags.

    The other nice thing is that you can put loops in your templates so you don't have to repeatedly loop to generate repetitive HTML.

    -Il Cylic

    Section 66: Cruel, unjust, and dedicated to death.
Re: Re: How to iterate by fives?
by moof1138 (Curate) on Feb 16, 2003 at 21:10 UTC
    Thanks, since you mentioned it I have been looking at HTML::Template, and this looks like it is definitely the way to go down the line. For the short term I just needed to get this thing out the door, but now that I have doe a bit of experimenting with it, I definitely want to migrate all my CGIs over to HTML::Template, it looks like it should make life a lot better. Again, thanks.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2024-04-20 03:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found