From: Michael Wiebusch Date: Wed, 10 Jul 2013 21:54:39 +0000 (+0200) Subject: xml2ini.pl and ini2xml.pl are working WITH inheriting. settings were processed back... X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=cba265a7a68a21886c98e9f22a881b6460ea74a8;p=mvdsensorcontrol.git xml2ini.pl and ini2xml.pl are working WITH inheriting. settings were processed back and forth with success --- 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