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
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
XML is for non-scripting (Score:2)
Ilya Martynov (http://martynov.org/ [martynov.org])
Re: (Score:2)
Practically the only time I have to touch XML in Perl is when interfacing with somebody else system.
True. That's the situation I routinely find myself in. We work with many outside groups and XML is the de facto data interchange format.
With Bermuda, I would have found this much easier to handle if we had proper introspection. I could write a quick "stub" of a Bermuda island file like this pseudo Perl 6 code:
Re: (Score:1)
Perhaps while you are waiting for Perl 6, you should look at MooseX::Storage [cpan.org], it doesn't have an XML backend, but thats mostly cause we haven't had the need for it (if you can choose a schema it would be trivial).
- Stevan
Re: (Score:2)
That does look very interesting. I had also thought that in later stages of Bermuda, I'd want to have optional Moose hooks. They shouldn't be too hard to add :)
Re: (Score:1)
Actually it seems that Bermuda is somewhat redundant with MooseX::Storage (ignoring the fact MX::Storage only works with Moose classes for the moment). I wonder if pooling our efforts might not make sense? Interested?
- Stevan
Re:XML is for non-scripting (Score:2)
Not just yet. For one thing, I refuse to release this until I feel much more comfortable with the design. I've screwed up with this in the past and I'm not anxious to code myself into a corner. I also am being strongly driven to solve an immediate need at the BBC, so I do need to stay focused on that right now.
Reply to This
Parent