Can anyone suggest a better/cooler way to populate this hash? I'm
doing ultra simple date checking, so this is all I really need, but
there must be another way to do it...


my %monthNames;
        $monthNames{"Jan"} = 0;
        $monthNames{"Feb"} = 1;
        $monthNames{"Mar"} = 2;
        $monthNames{"Apr"} = 3;
        $monthNames{"May"} = 4;
        $monthNames{"Jun"} = 5;
        $monthNames{"Jul"} = 6;
        $monthNames{"Aug"} = 7;
        $monthNames{"Sep"} = 8;
        $monthNames{"Oct"} = 9;
        $monthNames{"Nov"} = 10;
        $monthNames{"Dec"} = 11;


Thanks in advance,
Bill Lovett

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to