#!/usr/bin/perl use CGI::Application::Server; use testapp; my $server = CGI::Application::Server->new(4242); # $server->document_root('./htdocs'); $server->entry_points({ '/' => 'testapp', '/test.txt' => 'testapp', }); $server->run();