You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl-cvs@perl.apache.org by st...@apache.org on 2004/03/23 01:13:44 UTC
cvs commit: modperl-2.0/lib/Apache Status.pm
stas 2004/03/22 16:13:44
Modified: lib/Apache Status.pm
Log:
restore the warnings (redefined constants warnings can't be shut down)
Revision Changes Path
1.21 +1 -7 modperl-2.0/lib/Apache/Status.pm
Index: Status.pm
===================================================================
RCS file: /home/cvs/modperl-2.0/lib/Apache/Status.pm,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -u -r1.20 -r1.21
--- Status.pm 5 Mar 2004 18:19:15 -0000 1.20
+++ Status.pm 23 Mar 2004 00:13:44 -0000 1.21
@@ -15,13 +15,7 @@
package Apache::Status;
use strict;
-#use warnings; #XXX FATAL => 'all';
-no warnings; # 'redefine';
-
-# XXX: something is wrong with bleadperl, it warns about redefine
-# warnings, when no warnings 'redefine' is set (test with 5.8.0). even
-# when used with 'no warnings' it still barks on redefinining the
-# constants
+use warnings FATAL => 'all';
use mod_perl 1.99;