Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

athomason's scratchpad

by athomason (Curate)
on Jun 05, 2004 at 08:37 UTC ( #361421=scratchpad: print w/replies, xml ) Need Help??

#!/usr/bin/perl use strict; use warnings; use XML::Twig; my $compressed_filename = shift || die; my $reader = new IO::Handle::Zlib; $reader->open($compressed_filename, "rb") or die "could not open $compressed_filename: $!"; my $twig = XML::Twig->new( twig_handlers => { h1 => sub { $_->set_tag( 'h2') }, }, ); $twig->parse($reader); $twig->print; package IO::Handle::Zlib; use base qw/ IO::Zlib IO::Handle /;
Log In?

What's my password?
Create A New User
[Discipulus]: i got also a parser error, but once
[KurtZ]: Code Tags
[KurtZ]: ?
[choroba]: <code>...</code>
[choroba]: Discipulus: Yes, all get calls should be wrapped in a Try::Tiny
[choroba]: you can just create a ticket :)
[Discipulus]: Ah! is i'll have some fre4e time i'll try try::tiny

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2017-07-24 09:27 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (349 votes). Check out past polls.