use HTML::CalendarMonth; use HTML::AsSubs; # Using HTML::AsSubs $c = HTML::CalendarMonth->new( month => 3, year => 69 ); $c->item($c->year, $c->month)->attr(bgcolor => 'wheat'); $c->item($c->year, $c->month)->wrap_content(font({size => '+2'})); $c->item(12, 16, 28)->wrap_content(strong()); print $c->as_HTML;