Having Trouble Viewing Perl/CGI Scripts...

LordPhoenix

Golden Member
Jul 1, 2004
1,341
0
0
Hey.

I installed Active Perl in F:\Perl. I'm trying to open Perl files (.PL). This file is saved as "test.pl" with quotations. It was made in Notepad in ANSI mode. Why can't I see this?

Here is the script...

#!F:\Perl\bin\perl.exe -wT
use strict;
use CGI ':standard';

my $animal;
$animal = param('animal');

print "Content-type: text/html\n\n";
print "Show me the $animal";

---------------------------------------