Plack::ResponseHelper::Redirect
use Plack::ResponseHelper redirect => 'Redirect', page404 => [ 'Redirect', {default_status => 404, default_location => '/404.html'} ]; respond redirect => $location; respond page404 => undef;
Plack::ResponseHelper
To install Plack::ResponseHelper, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plack::ResponseHelper
CPAN shell
perl -MCPAN -e shell install Plack::ResponseHelper
For more information on module installation, please visit the detailed CPAN module installation guide.