You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by martin langhoff <ma...@scim.net> on 2000/07/31 21:36:14 UTC

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

Posted by ___cliff rayman___ <cl...@genwax.com>.
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/



Re: Embperl and the apache API

Posted by ___cliff rayman___ <cl...@genwax.com>.
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

Posted by martin langhoff <ma...@scim.net>.
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