#!/usr/bin/perl use 5.010_000; use strict; use warnings; use utf8; =head1 NAME index.cgi - =cut use lib 'lib'; use Fripost::Panel::Interface; # TODO: Try out Fast CGI #use CGI::Fast(); # #while (my $q = new CGI::Fast){ # my $app = new WebApp(QUERY => $q); # $app->run(); #} my @config = 'default.in'; push @config, 'config.in' if -f 'config.in'; my $cgi = Fripost::Panel::Interface->new( PARAMS => { cfg_file => [ @config ], format => 'equal' } ); $cgi->run(); =head1 AUTHOR Guilhem Moulin C<< >> =head1 COPYRIGHT Copyright 2012 Guilhem Moulin. =head1 LICENSE This program is free software; you can redistribute it and/or modify it under the same terms as perl itself. =cut __END__