1
0
mirror of https://gitlab.com/depesz/explain.depesz.com.git synced 2024-11-28 08:58:52 +02:00
explain.depesz.com/explain.pl
2014-10-31 06:04:52 -07:00

24 lines
493 B
Perl
Executable File

#!/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 do not have the Mojolicious Framework installed.
Please visit http://mojolicio.us for detailed installation instructions.
EOF
$ENV{ MOJO_APP } = 'Explain';
Mojolicious::Commands->start_app( 'Explain' );