Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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)

Enoch was right!
Enjoy the last years of Rome.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1012354]
[choroba]: Corion One day, you'll implement the support for window functions in SQLite.
[Corion]: choroba: I admit I've thought about it ;) But I think I'll sooner hack up the Pg parser library to spit out a good parse tree and then hack that up to create Perl code :)
[Corion]: But back when I last looked at the VM of SQLite it seemed way to basic to me to implement anything in it....

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (15)
As of 2018-03-22 12:40 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (274 votes). Check out past polls.