Help for this page

Select Code to Download


  1. or download this
    my @countries = do {
        my $fh;
    ...
        
        ## generate and return a dropdown with <select name="$form_name">
    }
    
  2. or download this
    use CGI 'popup_menu';
    
    my $dropdown = popup_menu("dropdown", \@countries);
    my $another  = popup_menu("another",  \@countries, "USA"); ## set a de
    +fault