Use the param method of Mojo::Parameters (returned by query_params) as
shown here: https://metacpan.org/pod/Mojolicious::Controller#param

On Wed, Apr 5, 2017 at 6:00 PM, iaw4 <[email protected]> wrote:

>
> does M have a builtin shortcut function for the most frequent use of
> params,
>
> my $x=$c->req->query_params('x');
> $x =~ s/^x=//;
>
> easy to write, but just asking.
>
>
> --
> 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 https://groups.google.com/group/mojolicious.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to