Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[holli]: so i filed a pull request for a open source project on github, they guy asks me "what motivates me to do this"
[holli]: i am tempted to answer "to please our new asian overlords" or something
[holli]: what a silly question

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2017-10-18 22:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (251 votes). Check out past polls.

    Notices?