[interchange-cvs] interchange - heins modified lib/Vend/Config.pm
interchange-core@icdevgroup.org
interchange-core@icdevgroup.org
Sun Aug 11 10:18:01 2002
User: heins
Date: 2002-08-11 14:17:45 GMT
Modified: lib/Vend Tag: STABLE_4_8-branch Config.pm
Log:
* Allow setting of more than \w+ keys for Locale types.
Revision Changes Path
No revision
No revision
2.2.2.11 +3 -3 interchange/lib/Vend/Config.pm
rev 2.2.2.11, prev_rev 2.2.2.10
Index: Config.pm
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /anon_cvs/repository/interchange/lib/Vend/Config.pm,v
retrieving revision 2.2.2.10
retrieving revision 2.2.2.11
diff -u -r2.2.2.10 -r2.2.2.11
--- Config.pm 1 Aug 2002 16:31:27 -0000 2.2.2.10
+++ Config.pm 11 Aug 2002 14:17:45 -0000 2.2.2.11
@@ -1,6 +1,6 @@
# Vend::Config - Configure Interchange
#
-# $Id: Config.pm,v 2.2.2.10 2002/08/01 16:31:27 racke Exp $
+# $Id: Config.pm,v 2.2.2.11 2002/08/11 14:17:45 mheins Exp $
#
# Copyright (C) 1996-2002 Red Hat, Inc. <interchange@redhat.com>
#
@@ -95,7 +95,7 @@
use Vend::Parse;
use Vend::Util;
=20
-$VERSION =3D substr(q$Revision: 2.2.2.10 $, 10);
+$VERSION =3D substr(q$Revision: 2.2.2.11 $, 10);
=20
my %CDname;
=20
@@ -1698,7 +1698,7 @@
unless defined $c->{frac_digits};
$store->{$name} =3D $c;
}
- elsif ($settings =3D~ s/^\s*(\w+)\s+//) {
+ elsif ($settings =3D~ s/^\s*([-\w.@]+)\s+//) {
$name =3D $1;
=20
undef $eval;