My recollection was that Calendar:: was used mostly by interfaces to
external calendar software.  Not that it should be that way, but that
seems to be the precedent.  Perhaps App::Calendar::Simple??  There is
an App-Calendar package already but that only contains
App::Calendar::CalendarApp.pm and App::Calendar::MonthCalendar.pm.
(It generates HTML to display a month, so doesn't really overlap with
what you have.)

>  my $mon = shift || (localtime)[4] + 1;
>  my $yr = shift || ((localtime)[5] + 1900);

If it is 12/2002 at the time of the first call to localtime and 1/2003
by the time of the second localtime, you'll get an erroneous 12/2003.
(I've actually had a user report a bug when something like this happened,
though that was hitting a month-end boundary, not a year-end.)

>  "Don't you boys know any _nice_ songs?"

"He used to cut my grass;  he was a very nice boy."

Reply via email to