Of course someone will come around and show how l44+ he is because he knows another way to write the loop.for (my $y = $year; $y <= $year + 9; $y++) { print "<option value = '$y'>$y</option>\n"; }
Oh, and as for showing it in an HTML page - I would have the user type in the (2 digit) year. Typing 2 characters is faster than using the mouse.
In reply to Re: Drop Down Year List
by JavaFan
in thread Drop Down Year List
by tedspinkle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |