http://www.perlmonks.org?node_id=335750


in reply to Re: Re: Setting up Perl/CGI with Windows
in thread Setting up Perl/CGI with Windows

Either you don't send a content-type, or you don't send it as the first output. Does the following code work?
#! /usr/bin/perl use warnings; use strict; use CGI; use CGI::Carp qw(fatalsToBrowser warningsToBrowser); my $cgi = CGI->new(); print $cgi->header(), $cgi->start_html('Testpage'); print $cgi->h1('Testpage'); print $cgi->end_html();

Best regards,
perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v8.8.8.32.11.32"