Amon2::Web::Dispatcher::RouterSimple - Router::Simple binding for Amon2
package MyApp::Web::Dispatcher; use Amon2::Web::Dispatcher::RouterSimple; connect '/' => 'Root#index'; connect '/my/' => 'My#index'; connect '/my/:action' => 'My'; 1;
Router::Simple binding for Amon2.
We will split this module from Amon2 core distribution. You need to list this class to your cpanfile.
Tokuhiro Matsuno
Router::Simple
To install Amon2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Amon2
CPAN shell
perl -MCPAN -e shell install Amon2
For more information on module installation, please visit the detailed CPAN module installation guide.