Mailing List Archive

Embperl and the apache API
hi,

I'm developing a custom Perl Module that gets called from Embperl
pages. Of course, it's all running under apache/mod_perl.

What I need is to get to $r to ask a few things, like the value of a
PerlSetEnv directive.

I've read embperl's man pages and found nothing... Is it possible at
all?




martin
Re: Embperl and the apache API [ In reply to ]
answering myself,

anything passed with the PerlSetEnv does get into the %ENV hash,
but
that was a silly example.

I *want* to get to $r :)



martin
Re: Embperl and the apache API [ In reply to ]
it is called $req_rec in apache.
i have used it in production for a long time.

--
___cliff rayman___cliff@genwax.com___http://www.genwax.com/

martin langhoff wrote:

> answering myself,
>
> anything passed with the PerlSetEnv does get into the %ENV hash,
> but
> that was a silly example.
>
> I *want* to get to $r :)
>
> martin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org
Re: Embperl and the apache API [ In reply to ]
make that:
it is called $req_rec in embperl. :-))

___cliff rayman___ wrote:

> it is called $req_rec in apache.
> i have used it in production for a long time.
>
> --
> ___cliff rayman___cliff@genwax.com___http://www.genwax.com/
>
> martin langhoff wrote:
>
> > answering myself,
> >
> > anything passed with the PerlSetEnv does get into the %ENV hash,
> > but
> > that was a silly example.
> >
> > I *want* to get to $r :)
> >
> > martin
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> > For additional commands, e-mail: embperl-help@perl.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org

--
___cliff rayman___cliff@genwax.com___http://www.genwax.com/