Help for this page

Select Code to Download


  1. or download this
    # correspondance map between a month name and his number
    use constant MONTH => { jan => 1,
    ...
                oct => 10,
                nov => 11,
                dec => 12 };
    
  2. or download this
       my %reverse_month = reverse %{[ MONTH ]}  # WRONG