in reply to Error from CGI on new server

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.