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
2013-05-14 19:24:58 +02:00

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