Edwardson, Tony Tony.Edwardson at commerzbank.com
Mon Jan 7 00:36:07 PST 2008

Anyone know how to get hold of a request object using mod_perl-1.30 ?

All the documentation and examples I can find (including the documentation
for the Apache module) indicate that all you need to do is


use Apache ();

my $r = Apache->request();


but I get

$ perl -MApache -e 'my $r = Apache->request()'

Can't locate object method "request" via package "Apache" at -e line 1.


Using Apache::Request has a similar issue - this time the documentation and
examples indicate that you should

use Apache::Request;

my $r = Apache::Request->new();


This time I get :-

$ perl -MApache::Request -e 'my $r = Apache::Request->new()'

Can't locate object method "new" via package "Apache::Request" at -e line 1.


Any ideas anyone ?






This is a commercial communication from Commerzbank AG.

This communication is confidential and is intended only for the person to
whom it is addressed.  If you are not that person you are not permitted to
make use of the information and you are requested to notify
<mailto:LONIB.Postmaster at commerzbankib.com> immediately that you have
received it and then destroy the copy in your possession.

Commerzbank AG may monitor outgoing and incoming e-mails. By replying to
this e-mail you consent to such monitoring. This e-mail message and any
attached files have been scanned for the presence of computer viruses.
However, you are advised that you open attachments at your own risk.

This email was sent either by Commerzbank AG, London Branch, or by
Commerzbank Corporates & Markets, a division of Commerzbank. Commerzbank AG
is a limited liability company incorporated in the Federal Republic of
Germany. Registered Company Number in England BR001025. Our registered
address in the UK is 60 Gracechurch Street, London, EC3V 0HR. We are
regulated by the Financial Services Authority for the conduct of investment
business in the UK and we appear on the FSA register under number 124920. 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/miltonkeynes-pm/attachments/20080107/0bd4f6b6/attachment.html 

More information about the MiltonKeynes-pm mailing list