<?xml version="1.0" encoding="windows-1252"?>
<node id="335750" title="Re: Re: Re: Setting up Perl/CGI with Windows" created="2004-03-11 04:27:21" updated="2005-07-27 20:58:09">
<type id="11">
note</type>
<author id="123953">
strat</author>
<data>
<field name="doctext">
Either you don't send a content-type, or you don't send it as the first output. Does the following code work?
&lt;code&gt;
#! /usr/bin/perl
use warnings;
use strict;
use CGI;
use CGI::Carp qw(fatalsToBrowser warningsToBrowser);

my $cgi = CGI-&gt;new();
print $cgi-&gt;header(), $cgi-&gt;start_html('Testpage');
print $cgi-&gt;h1('Testpage');
print $cgi-&gt;end_html();
&lt;/code&gt;

&lt;div class="pmsig"&gt;
&lt;div class="pmsig-123953"&gt;
&lt;P&gt;
Best regards,&lt;BR&gt;
perl -e "s&gt;&gt;*F&gt;e=&gt;y)\*martinF)stronat)=&gt;print,print v8.8.8.32.11.32"
&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
44536</field>
<field name="parent_node">
335447</field>
</data>
</node>
