It would work for the purpose of testing, mainly simulating a request without running apache like Apache::Test does currently. But as you say, it would mean replicating the C functions. Just wondering if someone has attempted this ?
On 8/31/07, Perrin Harkins <[EMAIL PROTECTED]> wrote: > > On 8/30/07, bharanee rathna <[EMAIL PROTECTED]> wrote: > > has anyone tried to create an instance of Apache2::RequestRec outside > > apache ? > > How could that work? And even if it could work, what good what it be? > This class is a Perl version of the C API to Apache's internals. It > has no other purpose. > > - Perrin >