1
0
mirror of https://gitlab.com/depesz/explain.depesz.com.git synced 2024-12-04 10:34:46 +02:00
explain.depesz.com/explain.pl

24 lines
475 B
Perl
Raw Normal View History

#!/usr/bin/env perl
use strict;
use warnings;
use File::Basename 'dirname';
use File::Spec;
use English -no_match_vars;
use lib File::Spec->catfile( File::Spec->splitdir( dirname( __FILE__ ) ), 'lib' );
eval 'use Mojolicious::Commands';
die <<EOF if $EVAL_ERROR;
It looks like you don't have the Mojolicious Framework installed.
Please visit http://mojolicio.us for detailed installation instructions.
EOF
$ENV{ MOJO_APP } = 'Explain';
Mojolicious::Commands->start;