On Fri, Feb 13, 2004 at 04:38:21PM -0500, Joe Schaefer wrote:

> In mp2, Apache::RequestRec *is the base class* for A-R (A-R shouldn't
> have any AUTOLOAD methods).  AFAICT that certainly fits the bill as 
> being a necessity. How can a subclass be expected to work properly if 
> its parent modules aren't available?

Are you talking about the use-chain that is required?
I run happy with this: (If I got you wrong, sorry)

if (!defined $PApp::Apache2::_compiled) { eval do { local $/; <DATA> }; die if $@ } 1;
__DATA__

#line 5 "(PApp/Apache2.pm)"

package PApp::Apache2::Gateway;
use Apache2 ();
use Apache::Log ();
use Apache::RequestIO ();
use Apache::RequestRec ();

our @ISA = Apache::RequestRec::;

sub new {
   bless $_[1], $_[0];
}

-- 

  ciao - 
    Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to