mirror of
https://gitlab.com/depesz/explain.depesz.com.git
synced 2024-11-30 09:06:42 +02:00
24 lines
493 B
Perl
Executable File
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' );
|