On Mon, 20 May 2002, Doug MacEachern wrote: > On Fri, 17 May 2002, Jie Gao wrote: > > > use Apache::Constants qw(:common :response M_GET M_POST AUTH_REQUIRED REDIRECT); > > the :response group in 1.x consists of names which apache has deprecated > in 1.3.x and removed in 2.0, for which there are HTTP_* names that replace > the old names. so for example, if you had imported the :response group to > use 'BAD_GATEWAY', you should instead explicity import HTTP_BAD_GATEWAY, > which will work with both 1.x and 2.x.
I put this in my module: use Apache::Constants qw(:common BAD_GATEWAY M_GET M_POST AUTH_REQUIRED REDIRECT FORBIDDEN SERVER_ERROR); and "make test" says BAD_GATEWAY is not exported by Apache::Constants. Also perl-status doesn't seem to be functioning: [Thu May 23 14:14:43 2002] [error] [client 129.xx.xx.xx] Undefined subroutine &Apache::Constants::SERVER_VERSION called at /usr/lib/perl5/site_perl/5.6.1/i386-linux/Apache/Status.pm line 86. I am also getting: [Thu May 23 14:11:45 2002] [notice] child pid 32213 exit signal Segmentation fault (11) when running my 1.3 module. I couldn't find any coredump, though. Anyone can help? Regards, Jie