#!/usr/bin/perl -wT
use CGI':standard';
use CGI::Carp qw(warningsToBrowser fatalsToBrowser);
print "Content-type: text/html\n\n";
print "<!DOCTYPE html>";
print "<html><head><title>My first Perl program</title></head>";
print "<body>";
print "<div>This is my first Perl program.</div>";
print "<div style='font-size:1.1em;color:blue;font-family:sans-serif;'>Blue text sans-serif.</div>";
print "<div style='font-weight:bold; color:red;'>Bold red text.</div>";
print "</body></html>";