You should be using CGI. Your code then becomes something like:
#!/usr/bin/perl use strict; use warnings; use CGI; my $q = CGI->new; print $q->header("text/html"); print "<html><head><title>Form Output</title></head><body>"; print "<h2>Results from FORM post</h2>\n"; foreach my $key ($q->param) { print $q->param($key) . "<br>"; } print "</body></html>";
Note that this assumes that a given parameter name appears only once in your form.
In reply to Re: cgi input box process script
by Errto
in thread cgi input box process script
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |