Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Parsing zipped xml data

by Jenda (Abbot)
on Jan 09, 2013 at 00:07 UTC ( #1012354=note: print w/ replies, xml ) Need Help??


in reply to Parsing zipped xml data

The parse() method accepts an opened filehandle so something like

use PerlIO::gzip; open my $IN, "<:gzip", "file.gz" or die $!; $parser->parse($IN); ...
should work. (untested)

Jenda
Enoch was right!
Enjoy the last years of Rome.


Comment on Re: Parsing zipped xml data
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1012354]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (11)
As of 2014-12-26 21:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls