MVC::Neaf::Route::Null - route stub for Not Even A Framework
This is a utility class. Nothing to see here unless one intends to work on MVC::Neaf itself.
A Null route will be substituted in MVC::Neaf::Request's methods until real routing has been performed.
Normally this shouldn't even be instantiated as MVC::Neaf::Route::PreRoute will take over before any user code gets a chance to be executed by Neaf.
But for the sake of completeness, it is here.
Do nothing.
Returns path argument given to new(), defaults to '/'.
path
new()
'/'
Returns method argument given to new(), defaults to 'GET'.
method
'GET'
Returns function that dies with 404.
returns "strict" parameter.
Returns a "die 404" function by default.
Returns an empty hash by default.
Returns anempty hash by default.
These two die, because there are no forms/views available until the request routing has been started.
Returns nothing, as this route isn't attached to any application.
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.