note
hardburn
<p><em>So I'm looking to write a driver that includes it's own skeleton web server (in Perl of course), something just enough to handle receiving headers and parameters, and returning content.</em></p>
<p>This shouldn't be hard at all, and a lot of the work is [cpan://HTTP::Daemon|already done for you]. I wouldn't have it do CGI, but rather model it like mod_perl RequestHandlers (call a method in a Perl package with an object that contains information about the request).</p>
<div class="pmsig">
<div class="pmsig-195718">
<p>----<br>
<code>: () { :|:& };:</code></p>
<p><b>Note</b>: All code is untested, unless otherwise stated</p>
</div></div>
343346
343357