use strict; use warnings; #$content_type is the /mime/ type my $content_type = 'text/html'; print "Content-type: $content_type\n\n";