I use this:

sub handler {
  my $r       = shift;
  $r             = $r->filter_register();  # Required for AxKit Provider
  $query    = Apache::Request->new($r);

  ...
}

On Jan 5, 2004, at 11:29 AM, Vaclav Barta wrote:

On Sunday 04 January 2004 10:25 pm, Arne Claassen wrote:
I don't know about CGI and Provider, but i'm using Apache::Request
instead of CGI (smaller memory footprint as well) in my Provider
Filter's and it works great

On Monday 05 January 2004 04:36 pm, Sean Evans wrote:
You probably want to check out $r->param in Apache::Request.

OK, the consensus seems clear, but how do I get an instance of Apache::Request? My handler is

sub handler {
    my $r = shift;
    $r = $r->filter_register();  # Required

    $r->print(<<HEAD);
<?xml version="1.0"?>
HEAD
...

Its argument is an instance of Apache and the return value of filter_register
is Apache::Filter. Is there a way to get Apache::Request in this setup, or is
my configuration all wrong?


        Bye
                Vasek

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


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



Reply via email to