'; #callback? return 3 html pieces? #' | ';
$text .=
@@ -463,10 +474,11 @@ END
#comment this block to disable initial list polulation
+ my @initial_select = ();
if ( scalar( @$pops ) > 100 ) {
- @initial_select = ( $popnum2pop{$popnum} );
+ push @initial_select, $popnum2pop{$popnum} if $popnum2pop{$popnum};
} else {
- @initial_select = $@pops;
+ @initial_select = @$pops;
}
foreach my $pop ( sort { $a->{state} cmp $b->{state} } @initial_select ) {
$text .= qq!