Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 musing on the Monastery: (7)
As of 2015-05-07 00:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (154 votes), past polls