perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aare Vesi <aare.li...@myrien.com>
Subject possible mp2 related bug under embperl 2.1.0
Date Tue, 31 Jan 2006 21:52:30 GMT
Hi,

While using Embperl 2.1.0 under mod_perl 2.0.1 following error occurs:

code:

used under ModPerl::Registry.

###

use Apache2::RequestRec;
use Apache2::RequestUtil;
use Embperl;

$r = Apache2::RequestUtil->request;

$session  = Embperl::Req::SetupSession ($r);	
$test = $session -> {test};

###

Error message:

[Tue Jan 31 22:57:46 2006] [error] Can't locate object method header_in" 
via package "Apache2::RequestRec" at 
/usr/local/lib/perl/5.8.7/Embperl.pm line 355.\n


Problem seems to be with
$req_rec->header_in('Cookie')

as header_in(), header_out() and err_header_out() are not available in 
mod_perl 2.0.

http://apache.perl.org/docs/2.0/user/porting/compat.html#C__r_E_gt_header_in_

or is there some bug in my coding?


TIA,
Aare


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


Mime
View raw message