For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > May 2006 > Servlet::Http::HttpServlet









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Servlet::Http::HttpServlet
Tom Allison

2006-05-27, 6:58 pm

I'm trying to put together an interface for an application of mine using this
HttpServlet module.

But I can't seem to find anything in the docs that actually explains how to use
this module. Specifically, setting up and configuring the interface to listen
to certain ports, define roles, and establish an authentication method (BASIC).

As I understand it, I can create an object:
my $server = Servlet::Http::HttpServlet->new();

and I guess I can create the same server with specific options via:
my $server = Servlet::Http::HttpServlet->($config);

where $config is a hash reference of options to impliment. But in order for
this to actually "do" anything I need to know what the Keys are that I need to
specify.

Does anyone have any experience with these modules?
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com