I solved this issue with checking params:
for (@{$c->all_tld}) {
push @$checked, $_ if defined $c->param($_);
}
Or you can delete from params all static options and all remaining params
will be checkboxes:
$a = $c->param('A');
delete $c->param('A');
...
@checkboxes = @{$c-params->param}; #Not sure for this line. Forget how to
show all options
--
You received this message because you are subscribed to the Google Groups
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.