Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
XML::Simple and outputby expat (Initiate) |
on Feb 16, 2014 at 04:20 UTC ( [id://1075074]=perlquestion: print w/replies, xml ) | Need Help?? |
expat has asked for the wisdom of the Perl Monks concerning the following question: Here is my code:
I'm trying to learn something about processing XML in Perl, starting with the XML::Simple package. The entire program is in the code I've posted here. You'll see that there are 2 sections of code to print the info captured by XMLin(). One is a printf to standard output (presently commented out), the other printf to a file. Printing to standard output gives the expected results. Printing to a file yields only 'GLOB(0x60d658)' repeated more times than I care to count, and a 0 byte file created. I am perplexed, any pointers would be appreciated. I'm on a Windows 7 64 bit laptop, running activestate perl v5.16
Back to
Seekers of Perl Wisdom
|
|