Plack::Middleware::DebugRequestParams - debug request parameters (inspired by Catalyst)
$ plackup -e 'enable "DebugRequestParams"' app.psgi $ curl -F foo=bar -F baz=foobar http://localhost:5000/ .--------------------. | Parameter | Value | +-----------+--------+ | baz | foobar | | foo | bar | '-----------+--------'
use Plack::Builder; builder { enable "DebugRequestParams", ignore_path => qr{^/(images|js|css)/}, $app; };
Copyright (C) Hiroki Honda.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Hiroki Honda <cside.story@gmail.com>
To install Plack::Middleware::DebugRequestParams, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plack::Middleware::DebugRequestParams
CPAN shell
perl -MCPAN -e shell install Plack::Middleware::DebugRequestParams
For more information on module installation, please visit the detailed CPAN module installation guide.