Hallo bernd,
use CGI::Carp qw(fatalsToBrowser);
print "Content-type: text/html\n\n";führt zur gleichen fehlermeldung. und nun?
Du musst schon auch etwas ausgeben. Nur der Header reicht
nicht. Ein funktionierendes Script koennte z. B. so aussehen:
use CGI;
use CGI::Carp qw(fatalsToBrowser);
my $cgi = new CGI;
print $cgi->header(-type => 'text/html; charset=ISO-8859-15');
print "Weitere Ausgaben...";
Gruesse,
CK
--
http://cforum.teamone.de/
http://wishlist.tetekum.de/
If God had meant for us to be in the Army, we would have been born with green, baggy skin.
http://cforum.teamone.de/
http://wishlist.tetekum.de/
If God had meant for us to be in the Army, we would have been born with green, baggy skin.