ivanwills/W3C-SOAP — pull request #5 by jonathanstowe (2014-06-29 15:44:56+00:00)
Title: 5.18.1 fix

Hi,
Thanks for the potentially very useful module.

This fixes the problem experienced on perl 5.18.0 and later whereby because of hash randomisation the initialise_slot of the Moose classes was being called in an unpredictable order if the attribute was not marked as lazy.

I had to put in a small hack to call $type->document()->complex_type() in two places as previously this was being called earlier as a side-effect but wound up not being called early enough to set the names right, it's possible that this could be called in a BUILD for W3C::SOAP::XSD::Document::Type.

I also changed "lazy_build" to "lazy" where the explicit builder was provided as it wasn't really necessary to supply all the extra "lazy_build" framework :)

Hope that helps.

Thanks again.