This may or may not be really obvious, but I think it has to be mentioned in this thread: print is all you really need.
my $error = "Generate your error message here"; print <<EOF; Content-Type: text/html Error: $error EOF
In reply to Re: Validation in forms using Perl
by dynamo
in thread Validation in forms using Perl
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |