aboutsummaryrefslogtreecommitdiffstats
path: root/server.pl
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem.moulin@fripost.org>2012-09-01 01:50:40 +0200
committerGuilhem Moulin <guilhem.moulin@fripost.org>2012-09-01 01:50:40 +0200
commitcc2eac1dcd3991e036875931fb78c609ff9dbbea (patch)
treeb9c95affc22263b96edeff8f9f8b7487c23cdf12 /server.pl
First try.
Diffstat (limited to 'server.pl')
-rwxr-xr-xserver.pl23
1 files changed, 23 insertions, 0 deletions
diff --git a/server.pl b/server.pl
new file mode 100755
index 0000000..bc76168
--- /dev/null
+++ b/server.pl
@@ -0,0 +1,23 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+use utf8;
+
+use CGI::Application::Server;
+use lib 'lib';
+use FPanel::Interface;
+#use MyCGI::App::Account::Dispatch;
+
+my $server = CGI::Application::Server->new();
+#my $panel = FPanel::Interface->new(
+# PARAMS => { cfg_file => ['config.yml']
+# , format => 'YAML'
+# }
+#);
+
+$server->entry_points({
+ '/index.cgi' => #$panel
+ 'FPanel::Interface'
+});
+$server->run();