Here is code to display your template.  I suggest you check out 
CGI::Application from cpan.org to make this a complete package.  I 
didn't test this code.  

#!/usr/bin/perl -w

use strict;   # Makes you a better coder
use HTML::Template; # Templates
use CGI::Carp 'fatalsToBrowser'; # Error messages to the browser

 # open the html template
my $template = HTML::Template->new(filename => 'test.tmpl');

print "Content-type: text/html\n\n";
print $template->output();


------------
Here is code to catch a value in a different script that you would submit to

# you need to add stuff here
...
use CGI;
my $cgi = new CGI;

my $formElement  = $cgi->param('nameYouGaveTheFormElement');
...

# End

-----------

perl.com has some lovely perl tutorials for beginners.


behrens wrote:

> Hello newbie here,
>
> I got a questionnaire template with a form, but i don't know how to 
> get the parameters,store them in a file, and resubmit the template 
> with a question changed.
> Is anyone able to tell me how to do it?
> (needless to say i'm new to perl,too)
>
> regards jan B
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-- 
Thanks,
Kenny Pyatt
President
Design Shack
www.dshack.com




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to