[interchange-cvs] interchange - heins modified lib/Vend/Table/Editor.pm

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Wed Jun 23 12:22:02 EDT 2004


User:      heins
Date:      2004-06-23 16:21:58 GMT
Modified:  lib/Vend/Table Editor.pm
Log:
* Allow labels to contain an equals sign. Found by Bill Carr.

Revision  Changes    Path
1.60      +3 -3      interchange/lib/Vend/Table/Editor.pm


rev 1.60, prev_rev 1.59
Index: Editor.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Table/Editor.pm,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -r1.59 -r1.60
--- Editor.pm	7 Jun 2004 03:05:30 -0000	1.59
+++ Editor.pm	23 Jun 2004 16:21:58 -0000	1.60
@@ -1,6 +1,6 @@
 # Vend::Table::Editor - Swiss-army-knife table editor for Interchange
 #
-# $Id: Editor.pm,v 1.59 2004/06/07 03:05:30 mheins Exp $
+# $Id: Editor.pm,v 1.60 2004/06/23 16:21:58 mheins Exp $
 #
 # Copyright (C) 2002-2003 Interchange Development Group
 # Copyright (C) 2002 Mike Heins <mike at perusion.net>
@@ -26,7 +26,7 @@
 package Vend::Table::Editor;
 
 use vars qw($VERSION);
-$VERSION = substr(q$Revision: 1.59 $, 10);
+$VERSION = substr(q$Revision: 1.60 $, 10);
 
 use Vend::Util;
 use Vend::Interpolate;
@@ -2644,7 +2644,7 @@
 		if($opt->{ui_break_before_label}) {
 			@tmp = grep /\S/, split /\s*[,\0]\s*/, $opt->{ui_break_before_label};
 			for(@tmp) {
-				my ($br, $lab) = split /\s*=\s*/, $_;
+				my ($br, $lab) = split /\s*=\s*/, $_, 2;
 				$break_label{$br} = $lab;
 			}
 		}








More information about the interchange-cvs mailing list