I <3/> XML::Rabbit

Just a quick note about how much I appreciate the work Robin Smidsrød has done on XML::Rabbit. I'm now using it on a second project, and the ease in which I can quickly build a set of classes and attributes to process XML documents combined with the usual Moose-y goodness is truly wonderful.

The first project in which I used XML::Rabbit, XML::Ant::BuildFile, is still chugging away and working well.


Thank you for the praise. I really appreciate the mention. Now I just have to find some time and write up that "What is XML::Rabbit?" article that has been lurking around in the back of my head for quite some time.

As an XML::Rabbit user, would you like if I added some sugar functions to define the attributes with even less markup? If you have any naming suggestions I'd very much appreciate it.

I guess I couldn't help but do some design work on how the sugar functions would look. See how positive feedback sparks interest?

I'd really like your feedback on my API suggestions here: https://gist.github.com/1231541

Name of functions, signature and such was what I came up with after thinking a bit about it. I'm not entirely sure if has_xpath_ is the right prefix for all the functions, maybe xml_ is better?

What do you think?

I've created an issue for this feature in the issue tracker on github. I guess it is probably the better place to continue the discussion on this feature.


Leave a comment

About Mark Gardner

user-pic I'm a developer currently working as a build automation engineer for an e-commerce services company. I've been working with Perl since 1994, and although I started focused on web applications I've gradually moved into toolsmithing and custom applications. My PAUSE/CPAN ID is MJGARDNER, and I usually host my public development efforts on GitHub.