From ea8ad8e46131ac7badd990ba656d06023be532d4 Mon Sep 17 00:00:00 2001 From: miker Date: Wed, 23 May 2007 15:04:59 +0000 Subject: [PATCH] From Dan Scott: EOL Whitespace is now stripped in the perl config file, hopefully saving some debugging time in the future. Details at: http://list.georgialibraries.org/pipermail/open-ils-dev/2007-May/001049.html git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@914 9efc2488-bf62-4759-914b-345cdb29e865 --- src/perlmods/OpenSRF/Utils/Config.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/perlmods/OpenSRF/Utils/Config.pm b/src/perlmods/OpenSRF/Utils/Config.pm index 359c255..8e9c398 100755 --- a/src/perlmods/OpenSRF/Utils/Config.pm +++ b/src/perlmods/OpenSRF/Utils/Config.pm @@ -40,7 +40,7 @@ sub new { } my ($protokey,$value,$keytype,$key); - if ($line =~ /^([^=\s]+)\s*=\s*(.*)/s) { + if ($line =~ /^([^=\s]+)\s*=\s*(.*)\s*$/s) { ($protokey,$value) = ($1,$2); ($keytype,$key) = split(/:/,$protokey); } @@ -421,11 +421,11 @@ sub load_config { =head1 BUGS -No know bugs, but report any to miker@purplefrog.com. +No know bugs, but report any to mrylander@gmail.com. =head1 COPYRIGHT AND LICENSING -Mike Rylander, Copyright 2000-2004 +Mike Rylander, Copyright 2000-2007 The OpenSRF::Utils::Config module is free software. You may distribute under the terms of the GNU General Public License version 2 or greater. -- 2.43.2