Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Making a Calendar in Perl?

by mojotoad (Monsignor)
on Jun 22, 2005 at 16:49 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://469087]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2024-04-25 02:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found