#!/usr/local/bin/perl use warnings; use 5.012; use utf8; use CGI; my $cgi = CGI->new(); my $css=<header( -charset => 'UTF-8' ); print $cgi->start_html( -style => { -type => 'text/css', -code => $css, } ); print $cgi->p( { -id => "con_1" }, 'Hello World' ); print $cgi->end_html;