develooper Front page | perl.perl5.porters | Postings from January 2011

Re: Modernizing MAD

Thread Previous
From:
Chris Prather
Date:
January 31, 2011 17:25
Subject:
Re: Modernizing MAD
Message ID:
AANLkTinA-S8zdFD3bRLk3VDaZiWWuE-nXjqmhnSJwYcV@mail.gmail.com
On Mon, Jan 31, 2011 at 8:54 AM, Jesse Vincent <jesse@fsck.com> wrote:
>
>
>
> On Mon, Jan 31, 2011 at 11:27:14AM +0000, Dave Mitchell wrote:
>> On Sun, Jan 30, 2011 at 05:06:41PM -0500, Chris Prather wrote:
>> > If it helps with the decision calculus here, I have code[1] that
>> > generates the XML without having a MAD enabled perl.
>> > [1]: https://github.com/perigrin/XML-MAD/tree/master/lib/XML/MAD
>>
>> Can you elaborate slightly on what it is that your code does?
>
> Sure!  Quoting from the May 2008 message when I first submitted this
> patch:

[snip]

And if you're referring to my code. It marshalls the MAD XML output to
Moose objects and back (using XML::Toolkit). This means you can
generate a tree of Moose objects that will be serialized into MAD XML
and (in theory, I haven't tested it yet) through the MAD tools into
Perl code.

I have no clue how useful this is in the real world, but I thought it
was a particularly neat hack.

-Chris

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About