понедельник, 16 февраля 2015 г., 18:53:02 UTC+2 пользователь Александр 
Грошев написал:
>
> how to get all POST options array/hash?
@req->params or $self->params don't worked properly, or I dont't properly 
used manual?

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.

Reply via email to