I know that if you want to use an existing framework like Catalyst or
Jifty you can deploy to different kinds of web servers interchangeably
by just tweaking your configuration or running a different command. For
example, Jifty is typically tested using HTTP::Server::Simple and then
deployed using FastCGI (I believe there is a mod_perl implementation is
also available). I'm pretty certain that Catalyst has a similar set of
options available (been a couple years, so my memory is a little fuzzy).<br>
<br>If you don&#39;t want to use a framework, then I don&#39;t know of
anything. In such cases, I&#39;ve only ever written my own abstractions and
haven&#39;t contributed those abstractions back to CPAN (I know, I&#39;m a
failure).<br>
<br>Cheers,<br><font color="#888888">Andrew</font><br><br><div class="gmail_quote">On Mon, Mar 24, 2008 at 2:08 PM, Kit Peters &lt;<a href="mailto:popefelix@gmail.com">popefelix@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
So I&#39;m building a RESTful server in Perl to run under Apache2 and<br>
mod_perl 2. &nbsp;And it occurs to me that my favorite method of debugging,<br>
perl -d, is not available in this setup, as all the Perl code is being<br>
executed by Apache and mod_perl, which are setting up their own<br>
environment that I can&#39;t duplicate easily. &nbsp;So then it occurs to me<br>
that the better thing to do would be to work out the behaviour outside<br>
of Apache and mod_perl altogether. &nbsp;I could then just make up GET<br>
strings on the command line or whatever. &nbsp;For Apache&#39;s part, I could<br>
write my mod_perl handlers to call the subs from my text interface.<br>
<br>
So, before I go reinventing the wheel, has anyone done this already?<br>
Is there some code out there already that I can integrate into this<br>
project?<br>
<br>
KP<br>
<font color="#888888"><br>
--<br>
GPG public key fingerpint: 1A12 04B6 0C80 306A B292 14FD 2C7A 1037 F666 46A7<br>
_______________________________________________<br>
kc mailing list<br>
<a href="mailto:kc@pm.org">kc@pm.org</a><br>
<a href="http://mail.pm.org/mailman/listinfo/kc" target="_blank">http://mail.pm.org/mailman/listinfo/kc</a><br>
</font></blockquote></div><br>