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/16 20:46:13 UTC
cvs commit: modperl-2.0/t/response/TestApache util.pm
stas 2004/03/16 11:46:13
Modified: t/response/TestApache util.pm
Log:
'use locale' is required to have /\w/ matching localized strings returned
by strftime-like functions
Revision Changes Path
1.2 +3 -0 modperl-2.0/t/response/TestApache/util.pm
Index: util.pm
===================================================================
RCS file: /home/cvs/modperl-2.0/t/response/TestApache/util.pm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -u -r1.1 -r1.2
--- util.pm 9 Feb 2004 19:25:01 -0000 1.1
+++ util.pm 16 Mar 2004 19:46:13 -0000 1.2
@@ -5,6 +5,9 @@
use strict;
use warnings FATAL => 'all';
+# regex matching (LC_CTYPE) of strftime-like (LC_TIME) strings
+use locale;
+
use Apache::RequestRec ();
use Apache::RequestIO ();
use Apache::Util ();