stu42j has asked for the wisdom of the Perl Monks concerning the following question:

I am thinking about writing an Apache2::Filter using HTML::FillInForm and I wondered if anyone has done this before and might have advice and/or code to share.

The main issue that I think will need to be solved is the way that Apache filters are called in multiple passes whereas HTML::FillInForm expects to get its input all at once. However HTML::Parser does support parsing in chunks so I think it will be doable with only minor changes to HTML::FillInForm.

Replies are listed 'Best First'.
Re: Apache2::Filter and HTML::FillInForm
by perrin (Chancellor) on Dec 17, 2005 at 05:03 UTC
    Just save the data until the HTML is fully-generated and run it then. For most cases this will be fine and is much easier.