tmaly has asked for the wisdom of the Perl Monks concerning the following question:
then I pass the $fh to XML::Parser::Expat. What I would like to do is use IO::Zlib and pass that into XML::Parser::Expat. However, I am not sure how I would handle injecting a root element into the IO::Zlib stream. Has anyone ever done something like this before?$fh = new IO::Pipe; $fh->reader("echo '<root>'; gunzip -c somefile.xml.gz; echo '</root>'; +");
Best Regards
Ty
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: XML::Parser::Expat and non conforming XML
by jbert (Priest) on Nov 07, 2006 at 17:28 UTC | |
|
Re: XML::Parser::Expat and non conforming XML
by nicholasrperez (Monk) on Nov 09, 2006 at 04:35 UTC |