NAME

Mojolicious::Plugin::HashedParams - Transformation request parameters into a hash and multi-hash

SYNOPSIS

plugin 'HashedParams';

# 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();
};

AUTHOR

Grishkovelli grishkovelli@gmail.com

Git

https://github.com/grishkovelli/Mojolicious-Plugin-HashedParams

COPYRIGHT

Copyright (C) 2013, Grishkovelli.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.