Although this isn't the correct way of doing it — you should use one of the DateTime modules to get the number of days in the month (How many days are there in February 2000? February 2004? February 2100?)#!/usr/bin/perl use warnings; use strict; use CGI; my $cgi = CGI->new(); print $cgi->popup_menu(-name=>"Days", -values=>[ 1 .. 31]);
In reply to Re: building combo box
by davis
in thread building combo box
by beginr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |