Skip to content

Instantly share code, notes, and snippets.



Last active Aug 29, 2015
What would you like to do?
use Mojolicious::Lite;
use Games::Dice qw(roll);
post '/' => sub {
my $self = shift;
my $dicespec = $self->param('roll');
my $result = roll($dicespec);
$self->render(text => "$dicespec: $result\n");
from fedora
maintainer Mark Allen <>
run yum -y install perl-Mojolicious
run yum -y cpanminus
run cpanm Games::Dice
run yum install -y git
run git clone
cmd ["morbo", "44a415c302139af78dde/", "&"]
expose 3000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment