You forgot to print a header.
#!/usr/bin/perl -wT use strict; use CGI qw/:standard/; use CGI::Carp qw/ fatalsToBrowser /; #remove for production print header( 'text/plain' ), 'Hello, World!';
Cheers,
Ovid
Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.
In reply to Re: Error from CGI on new server
by Ovid
in thread Error from CGI on new server
by serambin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |