<%doc>------------------------------------------------------------------- monthMenu: Display a pulldown menu of months Optional arguments: $menu_name - Name of menu, defaults to 'month' $current - Selected month value (1 to 12) $format - Choice of month labels: 'full' (January, February, ...) 'short' (Jan, Feb, ...) 'numeric' (1, 2, ...) Defaults to 'full'. The format only affects appearance; the menu values are always numeric. ------------------------------------------------------------------- <%init> my @month_names = qw(January February March April May June July August September October November December); <%args> $menu_name=>'month' $current=>undef $format=>'full'