Egg::Dispatch - Base class for dispatch.
It is a base class for dispatch.
To do the function as Dispatch, necessary minimum method is offered.
Egg::Dispatch::Standard, Egg::Dispatch::Fast,
The setting of dispatch is returned.
When DISPATCH_HASH is given, it is set as dispatch.
Egg->dispatch_map ( _default => sub {}, hoge => sub { ... }, );
Alias = run_modes
Egg::Base has been succeeded to.
Constructor.
$e->action is returned.
$e->stash is returned.
$e->config is returned.
$e->page_title is returned.
The URI passing to decided action is assembled and it returns it.
Accessor to treat mode.
Accessor to treat label.
The mode of default is returned.
It is revokable in 'deispath_default_name' of the configuration. Default is '_default'.
The template name of default is returned.
It is revokable in 'template_default_name' of the configuration. Default is 'index'.
Egg::Release, Egg::Base, Egg::Dispatch::Standard, Egg::Dispatch::Fast,
Masatoshi Mizuno <lushe@cpan.org>
Copyright (C) 2008 Bee Flag, Corp. <http://egg.bomcity.com/>.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.
To install Egg::Release, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Egg::Release
CPAN shell
perl -MCPAN -e shell install Egg::Release
For more information on module installation, please visit the detailed CPAN module installation guide.