Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

acme (189)

  (email not shown publicly)

Leon Brocard (aka acme) is an orange-loving Perl eurohacker with many varied contributions to the Perl community, including the GraphViz module on the CPAN. YAPC::Europe was all his fault. He is still looking for a Perl Monger group he can start which begins with the letter 'D'.

Journal of acme (189)

Tuesday November 26, 2002
10:57 AM

Module of the day

[ #9153 ]
I tend to use many different modules at work. New projects mean I get to use new modules all the time. One that was particularly cute is XML::SemanticDiff. This project involved generating a huge XML file, handing it off to people who don't really know much about computers, let alone XML, and automatically taking it back and generating Perl modules from it. The trick is to make sure that the people haven't messed it up. XML::SemanticDiff takes two XML files and returns a list of the semantic differences between them: changed chardata, missing or extra elements, missing or extra attributes. It gives back the node's xpath and line numbers.

It rocks, thanks Kip!

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • I was particularly impressed when I read how it worked... It was one of those "that's blindingly simple yet very cunning" moments.