nlafferty has asked for the wisdom of the Perl Monks concerning the following question:

I am looking for an extremely simple way to generate a calendar. i don't have Cal on the server. I will be using is in an add events way.

Replies are listed 'Best First'.
(jeffa) Re: Looking for a Simple calendar.
by jeffa (Bishop) on Aug 06, 2001 at 19:25 UTC
Re: Looking for a Simple calendar.
by scain (Curate) on Aug 06, 2001 at 19:26 UTC
    You might want to take a look at Date::Calc which has a lot of useful calender useful functions. You could roll your own calender using it.

    Scott

Re: Looking for a Simple calendar.
by tachyon (Chancellor) on Aug 06, 2001 at 19:39 UTC

    You might like to look at PlotCalender on CPAN

    cheers

    tachyon

    s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

Re: Looking for a Simple calendar.
by nlafferty (Scribe) on Aug 06, 2001 at 20:37 UTC
    This Indexing Calendar Looks like it would be fairly easy to modify to work as an event calendar. I wonder what the best way to store events would be? How would it be modified to read each line from a flat file database?
Re: Looking for a Simple calendar.
by physi (Friar) on Aug 06, 2001 at 19:28 UTC
    Just a brainstorm, no code ...
    A very simple calender is a hash with the numbers from 1...365 as a hash key. Futher on you can bild a hash of hashes with the first hash contains the years, and the second contains the daynumbers of each year. There is a formular around somewhere to calculate the weekday out of a date. But maybe there's a module for this at CPAN ?
    ----------------------------------- --the good, the bad and the physi-- -----------------------------------