I've had a pretty good bank holiday weekend so far, Perl coding wise. I've been working on the XML::LibXML plugin for the Template Toolkit that I've been meaning to complete for ages.
So if you want to take a look, here it is.
The actual code was completed over a month ago - as were the tests. For once however, I hadn't documented first. I think that's because I knew exactly how long it would take me to properly document it. So after two days of documenting I think I'm done. This is an extraordinary length of time for such a small amount of code, but I'm hoping it's quality not quantity that counts.
In the documentation for the module I wanted to show more than just the methods that you can call - I wanted to show how XML::LibXML can be effectively used from within the Template Toolkit. This involved explaining how you can call XPath and the tree methods on the nodes, and how you could use VIEWs to 'skin' XML for presentation.
Of course this is all part of some of my other nefarious schemes. Primarily, this is all tied in with the talk I'm writing for YAPC::Europe. I'm planning to cover rendering XML with views in that talk, and, well I know XML and views better than the back of my own hand now.
The other top secret plan - which I keep bringing up all over the place ;-) - is the integration of the Template Toolkit and AxKit. I know I've discussed this before, but Template::Plugin::XML::LibXML is a vital part of that plan.