perlFile.setServerPath(WebServerCGIExample.class.getResource("/examples/perlCgiTest.pl").getPath());
// add the newly created resource to the module
httpCgiModule.getResources().addResource(perlFile);
// add the module to the server
webServer.addModule(httpCgiModule);
// create an http listener for InetAddress.getLocalhost() on port 11111
IHttpListener httpListener = new HttpListener(11111);
// add the listener to the server