- or download this
use CGI qw/:standard/;
print header,
...
"Your favorite color is ",em(param('color')),
hr;
}
- or download this
#!/usr/local/bin/perl -w
use CGI; # load CGI routines
...
$q->start_html('hello world'), # start the HTML
$q->h1('hello world'), # level 1 header
$q->end_html; # end the HTML
- or download this
my $query = new CGI;
my $cheese = $query->param('cheese');