The raw ZIP file(contains only one XML source file) is an attachment in an email which I can use Mail::POP3Client and MIME::Base64 to parse into a Perl string $zipdata. From here, I need to uncompress the attached $zipdata into XML flow, and use XML::Simple to parse the information I need. My questions are:
I know I can save $zipdata into a ZIP file and use Linux unzip to uncompress it and check the filename of XML document and then go back to Perl to parse the XML document. But how to handle all of these under Perl. Any suggestions?
Many thanks
lihao
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |