Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Making a Calendar in Perl?

by mojotoad (Monsignor)
on Jun 22, 2005 at 16:49 UTC ( #469087=note: print w/replies, xml ) Need Help??


in reply to Making a Calendar in Perl?

You might be interested in my HTML::CalendarMonth. It supports many locales and a variety of date computation sources: Time::Local, DateTime, Date::Calc, Date::Manip, and the unix 'cal' command.

basic usage:

$c = HTML::CalendarMonth->new( month => 10, year => 1980 ); print $c->as_HTML;

It's actually a tree structure made of HTML::Element nodes, so if you're using that it's a natural fit. You can alter the attributes or add/change content to each node before generating the HTML.

Cheers,
Matt

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://469087]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2021-01-28 02:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?