NAME

Dancer::Routes - Object base class for any Dancer Routes

package MyApp::Dashboard;

use base "Dancer::Routes";

sub main_page :GET("/") :GET(qr/^\/index/) { my $self = shift; $self->template("dashboard"); }

1;

DESCRIPTION

We can write our dancer route module in Object-oriented programming style.

AUTHOR

Michael Vu

LICENSE AND COPYRIGHT

Copyright 2009-2010 Michael Vu

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.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 54:

Unknown directive: =head