#!/usr/bin/perl use strict; use warnings; use utf8; use lib 'lib'; use FPanel::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 = FPanel::Interface->new( PARAMS => { cfg_file => [ @config ], format => 'equal' } ); $cgi->run();