Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: How to iterate by fives?

by caedes (Pilgrim)
on Feb 15, 2003 at 22:37 UTC ( #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? | Other CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2022-09-26 04:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (116 votes). Check out past polls.

    Notices?