in reply to Populating forms

While you may want to avoid a "full blown" templating solution like Template Toolkit, there are various "weaker" templating flavours:

I've listed the templating systems in increasing order of features and I believe you should use HTML::Template, as it is very simplicistic but has enough features to be useful.

Replies are listed 'Best First'.
Re: Re: Populating forms
by nodata (Initiate) on Mar 29, 2004 at 09:33 UTC

    Thanks for that. I've taken another look at HTML::Template, and it seems to be the best option.

    I think I was hoping more that there would be nice OO interface to add items to forms, but I now realise this would get ugly for anything like radio boxes and check boxes. (List boxes would be easy, just look for <SELECT NAME="something"></SELECT> then populate).

    HTML::Template seems like the best bet. Thanks!

Re: Re: Populating forms
by clscott (Friar) on Mar 29, 2004 at 18:20 UTC
    HTML::FillInForm
    http://search.cpan.org/dist/HTML::FillInForm
    Data::FormValidator
    http://search.cpan.org/dist/Data::FormValidator

    will be your best bets

    --
    Clayton