Mojolicious::Plugin::AdvancedMod::HashedParams - Transformation request parameters into a hash and multi-hash
# Transmit params: /route?message[body]=PerlOrDie&message[task][id]=32 or <input type="text" name="message[task][id]" value="32"> get '/route' => sub { my $self = shift; # you can also use permit parameters $self->hparams( qw/message/ ); # return all parameters in the hash $self->hparams(); };
Grishkovelli grishkovelli@gmail.com
https://github.com/grishkovelli/Mojolicious-Plugin-AdvancedMod
Copyright (C) 2013, 2014 Grishkovelli grishkovelli@gmail.com
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Mojolicious::Plugin::AdvancedMod, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mojolicious::Plugin::AdvancedMod
CPAN shell
perl -MCPAN -e shell install Mojolicious::Plugin::AdvancedMod
For more information on module installation, please visit the detailed CPAN module installation guide.