in reply to Re^2: Malformed Header Error
in thread Malformed Header Error

No, you need a content-type header. the header need to send out, before the content.
#!/usr/bin/perl use CGI qw(:standard); use strict; sub printpage(); print header( -type => 'text/html'); printpage(); exit;
Boris

Replies are listed 'Best First'.
Re^4: Malformed Header Error
by macPerl (Beadle) on Jul 20, 2004 at 10:27 UTC
    Boris, Joost,

    thanks for the help and patience. I had overlooked this in the HTML 4.01 spec. I guess the servers/user agents I've been using have been too forgiving !

    Regards,

    mP.