Gosh, this seems almost canonical but... have you looked at CPAN?
There's a supergroovy module called HTML::CalendarMonth that you'd probably enjoy using. It's got gobs of functionality and it's never given me a problem for the two times I've used it.
There are some basic examples located here : http://mojotoad.com/sisk/projects/HTML-CalendarMonth/examples.html.
Note that these are more or less basic examples. There's a lot of goodness that comes with the package.
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;
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.