gasjunkie_jabz has asked for the wisdom of the Perl Monks concerning the following question:
Hello, I am a very basic user of PERL, and Im trying to place a line on the bottom of an XML file to the top of the same XML file. My XML file reads as:
<testsuite errors="0" failures="5" name="combination" skips="0" tests="5" time="14.2159960269928"><testcase Classname="combination" name="combination001" time="2.558220 +14808655"/> <testcase Classname="combination" name="combination002" time="2.420861 +9594574"> <failure message= "test failure"> </failure> </testcase> <testcase Classname="combination" name="combination003" time="2.807042 +12188721"> <failure message= "test failure"> </failure> </testcase> <testcase Classname="combination" name="combination004" time="3.021811 +00845337"> <failure message= "test failure"> </failure> </testcase>
I am trying to place "<testsuite errors...> line on the top.
</testsuite> <--- stays put on the bottom
any tips will be appreciated
|
|---|