#!/usr/bin/perl use Mojolicious::Lite; # Route with placeholder any '/:foo' => sub { my $self = shift; $self->render_text('Yea baby!'); }; # Start the Mojolicious command system app->start();