view public_html/cgi-bin/handler.pl @ 7:fa7a99c2d079

dox library templates and schemas
author sergey
date Wed, 14 May 2014 01:22:21 +0400
parents aac1085b256d
children
line wrap: on
line source

#!/usr/bin/perl -wT
#-d:NYTProf
use strict;

BEGIN {
    require "./_config.pm";
}

use CGI;
use IMPL::require {
	TApp => 'Benzin::Web::Application'
};

eval {
	my $instance = TApp->spawn;
	
	$instance->Run();
};
if ($@) {
	print CGI::header(-status => 500, type => 'text/plain');
	print $@;
}