#!/usr/bin/perl-w
use CGI;
my $q = new CGI;
# load CGI routines
# create new CGI object
print $q->header;
# create the HTTP header
$q->start_html('hello world');
# start the HTML
$q->h1('hello world');
# level 1 header
$q->end_html;
# end the HTML
--------------------------------
el programa anterior no me funciona y no se porque, me muestra el siguiente error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request. ...