MVC::Neaf::Route::PreRoute - temporary route stub for Not Even A Framework
This is utility class. Nothing to see here unless one intends to work on MVC::Neaf itself.
It will show up in $req->route while a specific route has not yet been selected.
$req->route
It can still contain hooks & helpers, that's what it's for.
'method' parameter is required.
method = Actual method;
path = '[pre_route]'
'[pre_route]'
code = die 404;
die 404;
where = '[pre_route]'
Do not rely on these values.
This module is part of MVC::Neaf suite.
Copyright 2016-2018 Konstantin S. Uvarin khedin@cpan.org.
khedin@cpan.org
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install MVC::Neaf, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MVC::Neaf
CPAN shell
perl -MCPAN -e shell install MVC::Neaf
For more information on module installation, please visit the detailed CPAN module installation guide.