> I find it easier to do quick dirty things with CGI without having to
> restart the server.
> So I am wondering if it is possible to create/simulate an Apache request
> object so that I can go on developping my application with pure CGI,
> and still call the various Apache modules which requires this object.
> For instance I'd prefer use directy
> $r->header_out() methods than print header (blah blah blah)
>
> I will of course switch completely to mod Perl when my application is
> sufficiently hashed out..
>
> Please help me as I am missing some insight on mod perl internals.
> Thanks,
RTFM'ing will save you much more time than when you try to reinvent the
wheel.
You want to look at Apache::PerlRun for dirty CGI scripts:
http://perl.apache.org/guide/porting.html#Apache_PerlRun_a_closer_look
You want to look at development process techniques to solve the server
restart problem:
http://perl.apache.org/guide/porting.html#Reloading_Modules_and_Required_F
Hope this helps...
_______________________________________________________________________
Stas Bekman mailto:[EMAIL PROTECTED] http://www.stason.org/stas
Perl,CGI,Apache,Linux,Web,Java,PC http://www.stason.org/stas/TULARC
perl.apache.org modperl.sourcegarden.org perlmonth.com perl.org
single o-> + single o-+ = singlesheaven http://www.singlesheaven.com