The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

MVC::Neaf::Route::PreRoute - temporary route stub for Not Even A Framework

DESCRIPTION

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.

It can still contain hooks & helpers, that's what it's for.

METHODS

new

'method' parameter is required.

RUNTIME STUB METHODS

  • method = Actual method;

  • path = '[pre_route]'

  • code = die 404;

  • where = '[pre_route]'

Do not rely on these values.

LICENSE AND COPYRIGHT

This module is part of MVC::Neaf suite.

Copyright 2016-2018 Konstantin S. Uvarin 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.