From cba265a7a68a21886c98e9f22a881b6460ea74a8 Mon Sep 17 00:00:00 2001 From: Michael Wiebusch Date: Wed, 10 Jul 2013 23:54:39 +0200 Subject: [PATCH] xml2ini.pl and ini2xml.pl are working WITH inheriting. settings were processed back and forth with success --- xml_spielwiese/Common.pm | 2 +- xml_spielwiese/cgitest.pl | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/xml_spielwiese/Common.pm b/xml_spielwiese/Common.pm index aa988da..df51997 100644 --- a/xml_spielwiese/Common.pm +++ b/xml_spielwiese/Common.pm @@ -127,7 +127,7 @@ sub padZeros{ my $paddingGroupSize = $_[1]; $$string =~ s/^0+//; # remove leading zeros my $stringLength = length($$string); - print "strangeString:".$$string."\n"; + #print "strangeString:".$$string."\n"; my $neededZeros = ($paddingGroupSize-($stringLength % $paddingGroupSize)) % $paddingGroupSize; diff --git a/xml_spielwiese/cgitest.pl b/xml_spielwiese/cgitest.pl index c5a3b62..d125e98 100755 --- a/xml_spielwiese/cgitest.pl +++ b/xml_spielwiese/cgitest.pl @@ -5,6 +5,9 @@ print "Content-type: text/html\n\n"; # what happens when files are not writable? # make sure that error fields are hidden as well! +# in copy merge trees from xml2ini.pl +# or put it in the common.pm + # DONE # do not include wrong type, different specfile -- 2.43.0