perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Moss <martin_m...@btopenworld.com>
Subject Re: changing $req_rec
Date Wed, 15 Jun 2005 14:54:52 GMT
Sorry I didn't specify exactly what I wanted to do..

I know I can do this within the code:-

$req_rec = Apache::Request->instance($req_rec);

But for all the code which didn't do this I'm looking
to have the global variable $req_rec already set when
it gets to the emperl script...

Marty
--- Martin Moss <martin_moss@btopenworld.com> wrote:

> All,
> 
> I have a legacy system with a lot of code. I'm
> starting to use some mod perl handlers for PerlInit
> &
> PerlAuthen and possibly PerlTrans... The problem I
> have is that $req_rec in any Embperl code is always
> based on an Apache->request object (or at least
> thats
> the impression I get)... What I would like to do is
> to
> make Embperl set $req_rec to be an Apache::Request
> object (loaded by it's instance()) method..
> 
> Then I don't have to go edit wads of code....
> 
> Any ideas how this is set? 
> 
> Regards
> 
> Marty
> 
> 
> 
> 	
> 	
> 		
>
___________________________________________________________
> 
> Yahoo! Messenger - NEW crystal clear PC to PC
> calling worldwide with voicemail
> http://uk.messenger.yahoo.com
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail:
> embperl-help@perl.apache.org
> 
> 



		
___________________________________________________________ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message