in reply to Something simpler than HTML::Calendar::Simple

my %monrev = ( "0" => "Jan", "1" => "Feb", "2" => "Mar", "3" => "Apr", "4" => "May", "5" => "Jun", "6" => "Jul", "7" => "Aug", "8" => "Sep", "9" => "Oct", "10" => "Nov", "11" => "Dec");

Why a hash?

my @monrev = qw/Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec/;
Is there something obvious that I don't see?

Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }

Replies are listed 'Best First'.
Re: Re: Something simpler than HTML::Calendar::Simple
by oakbox (Chaplain) on Jun 28, 2003 at 15:44 UTC
    That would be me slapping my head and making a "Doh!" sound.

    It seems that I've gotten locked into a few idioms in my Perl and just keep hammering at them.

    oakbox