Created
September 7, 2010 17:54
-
-
Save ashgti/568737 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use mro 'c3'; | |
use encoding 'utf8'; | |
use Encode; | |
# Web Requirements | |
use Mojolicious::Lite; | |
get '/' => sub { | |
my $self = shift; | |
app->log->warn('Input was: ' . $self->param('input')); | |
$self->render(text => 'Input was: ' . $self->param('input')); | |
}; | |
app->start; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment