Skip to content

Instantly share code, notes, and snippets.

@themage
themage / mojo routes
Created September 16, 2013 14:24
a simple version of the crazy stuff I was trying to do with Mojolicious::Routes
====> ./MojoTest.pm
package MojoTest;
use Mojo::Base qw(Mojolicious);
sub startup {
my $self = shift;
$self->plugins->register_plugin('MojoTest::Plugin', $self);