in reply to Using CGI.pm
It's likely that a version of the CGI module will already be available. It's been a core module since Perl version v5.004.
Try running a single "hello world" script like:
#! /usr/bin/perl use strict; use warnings; use CGI; my $q = CGI->new; my $name = $q->param('name') || 'mystery user'; print $q->header, $q->start_html('Hello'), $q->h1('Hello'), $q->p("Hello $name."), $q->end_html;
Which you should then be able to call something like:
http://localhost/cgi-bin/hello.cgi?name=Deanimal
|
|---|