Boysenberry Payne wrote:
Yea, I got Apache2/MP2 installed and running on my OS X box.
YAY!
Now I'm rewriting my code and am getting the error:
Excellent
Can't locate object method "param" via package "Apache2::RequestRec"
Thats because its not there :) You need libapreq http://httpd.apache.org/apreq
my $apr = Apache2::RequestRec->new( $r );
You want instead use APR::Reuest::Apache2 (); my $apr = APR::Reuest::Apache2->handle($r); my $FORM = $req->param; ## hashref implemented as a tied hash to an APR::Table my $param1_value = $FORM{param1} .....
What is the equivalent for MP2? I tried: perl -MModPerl::MethodLookup -e print_method param
Its not in mp2 ... I've been thinking wondering if libapreq2 should have an equivalent for MethodLookup.pm -- END ------------------------------------------------------------ What doesn't kill us can only make us stronger. Nothing is impossible. Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198 Consultant / http://p6m7g8.net/Resume/ Senior Developer / Liquidity Services, Inc. http://www.liquidityservicesinc.com http://www.liquidation.com http://www.uksurplus.com http://www.govliquidation.com http://www.gowholesale.com