Mailing List Archive

NEWBIE question -- access to request record
I am new to embperl and have a basic question I can't find an answer to in
the README.

When invoking embperl simply by accessing a document (doing the addtype
stuff, etc) how do I gain access to the apache request record? Do I
actually have to invoke it via an actual modperl module (kind of a pain) or
is there a more straight forward (i.e., fewer steps) method?

Thanks,
Rob

_ _ _ _ _ _ _ _ _ _
/\_\_\_\_\ /\_\ /\_\_\_\_\_\
/\/_/_/_/_/ /\/_/ \/_/_/_/_/_/ QUIDQUID LATINE DICTUM SIT,
/\/_/__\/_/ __ /\/_/ /\/_/ PROFUNDUM VIDITUR
/\/_/_/_/_/ /\_\ /\/_/ /\/_/
/\/_/ \/_/ /\/_/_/\/_/ /\/_/ (Whatever is said in Latin
\/_/ \/_/ \/_/_/_/_/ \/_/ appears profound)

Rob Tanner
McMinnville, Oregon
rtanner@onlinemac.com
Re: NEWBIE question -- access to request record [ In reply to ]
$req_rec is an embperl variable that holds the apache request rec.
so to get a dir_config just do:
$req_rec->dir_config('cnfGWCePath')

--
___cliff rayman___cliff@genwax.com___http://www.genwax.com/
Rob Tanner wrote:

> I am new to embperl and have a basic question I can't find an answer to in
> the README.
>
> When invoking embperl simply by accessing a document (doing the addtype
> stuff, etc) how do I gain access to the apache request record? Do I
> actually have to invoke it via an actual modperl module (kind of a pain) or
> is there a more straight forward (i.e., fewer steps) method?
>
> Thanks,
> Rob
>
> _ _ _ _ _ _ _ _ _ _
> /\_\_\_\_\ /\_\ /\_\_\_\_\_\
> /\/_/_/_/_/ /\/_/ \/_/_/_/_/_/ QUIDQUID LATINE DICTUM SIT,
> /\/_/__\/_/ __ /\/_/ /\/_/ PROFUNDUM VIDITUR
> /\/_/_/_/_/ /\_\ /\/_/ /\/_/
> /\/_/ \/_/ /\/_/_/\/_/ /\/_/ (Whatever is said in Latin
> \/_/ \/_/ \/_/_/_/_/ \/_/ appears profound)
>
> Rob Tanner
> McMinnville, Oregon
> rtanner@onlinemac.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org
Re: NEWBIE question -- access to request record [ In reply to ]
Thank you. I now see that it's obvious in the README, but only in
hindsight (I gues that means it's not really all that obvious).

But it's working just beautifully for me now -- it's a very nice tool and a
nice complement to directly writing with mod_perl. I like!!

-- Rob

--On 08/02/00 17:49:10 -0700 ___cliff rayman___ <cliff@genwax.com> wrote:

> $req_rec is an embperl variable that holds the apache request rec.
> so to get a dir_config just do:
> $req_rec->dir_config('cnfGWCePath')
>
> --
> ___cliff rayman___cliff@genwax.com___http://www.genwax.com/
> Rob Tanner wrote:
>
>> I am new to embperl and have a basic question I can't find an answer to
>> in the README.
>>
>> When invoking embperl simply by accessing a document (doing the addtype
>> stuff, etc) how do I gain access to the apache request record? Do I
>> actually have to invoke it via an actual modperl module (kind of a pain)
>> or is there a more straight forward (i.e., fewer steps) method?
>>
>> Thanks,
>> Rob
>>
>> _ _ _ _ _ _ _ _ _ _
>> /\_\_\_\_\ /\_\ /\_\_\_\_\_\
>> /\/_/_/_/_/ /\/_/ \/_/_/_/_/_/ QUIDQUID LATINE DICTUM SIT,
>> /\/_/__\/_/ __ /\/_/ /\/_/ PROFUNDUM VIDITUR
>> /\/_/_/_/_/ /\_\ /\/_/ /\/_/
>> /\/_/ \/_/ /\/_/_/\/_/ /\/_/ (Whatever is said in Latin
>> \/_/ \/_/ \/_/_/_/_/ \/_/ appears profound)
>>
>> Rob Tanner
>> McMinnville, Oregon
>> rtanner@onlinemac.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
>> For additional commands, e-mail: embperl-help@perl.apache.org
>
>
>
>




_ _ _ _ _ _ _ _ _ _
/\_\_\_\_\ /\_\ /\_\_\_\_\_\
/\/_/_/_/_/ /\/_/ \/_/_/_/_/_/ QUIDQUID LATINE DICTUM SIT,
/\/_/__\/_/ __ /\/_/ /\/_/ PROFUNDUM VIDITUR
/\/_/_/_/_/ /\_\ /\/_/ /\/_/
/\/_/ \/_/ /\/_/_/\/_/ /\/_/ (Whatever is said in Latin
\/_/ \/_/ \/_/_/_/_/ \/_/ appears profound)

Rob Tanner
McMinnville, Oregon
rtanner@onlinemac.com