Fellow Monasterians:
I'm trying to learn to use more modules, but not getting HTML::FillInForm. I have been using HTML::Template for some time, but want to refine my methods further. Here are my specific questions:
1. what is 'fobject'? and can it be called by any other name?
2. How does the $output get 'enacted'? I.e., how do I get from my Perl to my .tmpl form?
3. What else am I missing here?
PERL:
my $query = new CGI; $query -> param("123 Main Street"); my $html = "../form.html"; my $template = HTML::Template->new(filename => '../form.tmpl'); my $fif = new HTML::FillInForm; my $output = $fif->fill(scalarref => \$html, fobject => $query); print "Content-type: text/html\n\n"; print $template->output();
HTML:
<form action="cgi-bin/fill.pl" method="post"> <input type="text" name="address" size="30" /> <input type="submit" /> </form>
Thanks!
Update: Please see my findings, which are under the review of the HTML::FillInForm module itself.
In reply to Need help understanding HTML::FillInForm by bradcathey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |