ModPerl::Registry and CGI::Carp

2003-05-29 Thread Adam Gent
Hi,

Is anyone having problems with modperl2 and CGI::Carp

I get this error message

[Wed May 28 18:00:57 2003] [error] 357: ModPerl::Registry: Can't locate
object method send_http_header via package Apache::RequestRec at
/usr/local/lib/perl5/5.8.0/CGI/Carp.pm line 478.

Anyone got any ideas?

Adam



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.483 / Virus Database: 279 - Release Date: 19/05/2003



Re: ModPerl::Registry and CGI::Carp

2003-05-29 Thread Perrin Harkins
On Wed, 2003-05-28 at 13:02, Adam Gent wrote:
 Is anyone having problems with modperl2 and CGI::Carp

CGI::Carp has not been ported to modperl2.  You should assume that
modules you download have not been ported unless their docs say
otherwise.

You can use the compatibility layer, or port it yourself, which is
probably not hard in this case.  See this note:
http://perl.apache.org/docs/2.0/user/porting/compat.html#C__r_E_gt_send_http_header_

- Perrin


Re: ModPerl::Registry and CGI::Carp

2003-05-29 Thread Adam Gent
Hi Perrin,

Thanks for the info.

CGI::Carp did have some code in to work with mod_perl2 but not that bit.

I have updated my copy and have sent an email to the author.

Adam

- Original Message - 
From: Perrin Harkins [EMAIL PROTECTED]
To: Adam Gent [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 6:54 PM
Subject: Re: ModPerl::Registry and CGI::Carp


 On Wed, 2003-05-28 at 13:02, Adam Gent wrote:
  Is anyone having problems with modperl2 and CGI::Carp

 CGI::Carp has not been ported to modperl2.  You should assume that
 modules you download have not been ported unless their docs say
 otherwise.

 You can use the compatibility layer, or port it yourself, which is
 probably not hard in this case.  See this note:

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

 - Perrin



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.483 / Virus Database: 279 - Release Date: 19/05/2003