On Sun, 24 Dec 2000, Shevek wrote:

> I want the parameters from the first request to be preserved into the
> subrequest.

Store in a global variable then:

$MyPackage::request = $apr;

Then access in the internal redirect.

> Another minor issue is that Apache::Request is not trivially subclassed,
> the returned value from $self->SUPER::new() must be reblessed into the
> desired class.

Thats a pretty standard perl idiom:

sub new {
  my $class = shift;
  my $self = $class->SUPER::new;
  bless $self, $class;
}

-- 
<Matt/>

    /||    ** Director and CTO **
   //||    **  AxKit.com Ltd   **  ** XML Application Serving **
  // ||    ** http://axkit.org **  ** XSLT, XPathScript, XSP  **
 // \\| // **     Personal Web Site: http://sergeant.org/     **
     \\//
     //\\
    //  \\


Reply via email to