Perl newbie here. Can someone kindly show me how to use perl to extract data from this xml file and format the output anyway i would need? Would I use XML::Simple or open this as a fh and split it somehow? thank you.
Documentation for using XML::Simple doesn't seem simple to me.
For example I have a small xml file that looks like this.
test.xml
<?xml version="1.5" encoding="UTF-8"?><org.apache.Content duration="277135" count="51" numDirs="50" bytesUsed="110133451"/>
I would like to convert attribute="value" pairs to be readable like csv file, :
or however, i want to print it out.
Ex:
duration:277135 count:51 numDirs:50 bytesUsed:110133451