Enter your name:
------------------------------------------- #!/usr/bin/perl # Perl script to process the form above. use strict; # a pragmatic module use CGI; # -- create a new instance of the CGI object my $cgi = new CGI; # -- get the variables from the form and put them into local variables # that we can work with my $name = $cgi->param('name'); my $email = $cgi->param('email'); # -- output the required CGI header print $cgi->header(); # -- output a message to the user print < Example 1: results Your name is: $name
Your email address is: $email EOT