Plack::App::AutoCRUD::Controller - parent class for controllers
Parent class for all controllers
Calls the "serve" method to build response data; then calls the "render" in Plack::App::AutoCRUD::View method within the appropriate view to build the Plack response.
Abstract method (to be redefined in subclasses); should return the datastructure to be passed to the Plack::App::AutoCRUD::View class.
$controller->redirect($url);
Convenience method to redirect to another URL. Sets the view attribute in Plack::App::AutoCRUD::Context to an instance of Plack::App::AutoCRUD::View::Redirect; then returns the given URL.
view
To install Plack::App::AutoCRUD, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plack::App::AutoCRUD
CPAN shell
perl -MCPAN -e shell install Plack::App::AutoCRUD
For more information on module installation, please visit the detailed CPAN module installation guide.