It would be cool if GT could finish up the docs for this module =(
I'm trying to create a select list as follows:
{
name => 'Days',
values => \%days,
multiple => 4,
blank => 0,
value => \@days,
sort => sub {
?
}
}
);
I'd like to sort the list numerically as at the moment it is jumbled. I'm not really clear on what should go inside the sort code ref.
Thanks.
I'm trying to create a select list as follows:
Code:
$html->select( {
name => 'Days',
values => \%days,
multiple => 4,
blank => 0,
value => \@days,
sort => sub {
?
}
}
);
I'd like to sort the list numerically as at the moment it is jumbled. I'm not really clear on what should go inside the sort code ref.
Thanks.