You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Jeremy Howard <jh...@fastmail.fm> on 2000/06/10 08:38:45 UTC

Perl 5.6+mod_perl--nearly there now!

I've been testing the patch posted to this list yesterday to fix the
problem with Perl 5.6 'over-optimising' by leaving junk in @_, that
causes problems with CGI::Carp and others.

The patch fixes up all the problems I had, except for using CGI::Carp
under Apache::DB, when importing CGI::Carp with
use CGI::Carp ();
and then using it with
CGI::Carp::croak('some message');

To get this to work, I had to change the EXPORT_OK line in CGI/Carp.pm
to:
@EXPORT_OK = qw(croak carp confess carpout fatalsToBrowser wrap
set_message cluck);

I don't know why this is necessary, but otherwise I get a segfault using
Apache::DB.

-- 
  Jeremy Howard
  jeremy@fastmail.fm