I'm following on-line tutorials and keep running into problems esp when using CGI.pm
I am trying to run what seems like a simple script but like most of these tutorials
that I am following it doesn't work.
Can anybody please take a look at it and tell me where I am going wrong.
Thanks in advance
A.Total Noob.
#!/usr/bin/perl
print "Content-type: text/html\n\n";
use strict;
use warnings;
use CGI;
my$cgi = new CGI;
print $cgi->redirect('http://www.gmail.com');
print $cgi->start_html,
$cgi->end_html;
exit;

New Topic/Question
Reply



MultiQuote



|