[Xml-compile] Syntax errors when loading XML::Compile::Dumper-generated module

Mark Gardner mjg at phoenixtrap.com
Tue Apr 14 17:00:53 GMT 2015


FYI I reported this (with a smaller test case) as RT#103543 in
Data::Dump::Streamer.

--
Mark Gardner $ <mjg at phoenixtrap.com>

On Tue, Apr 14, 2015 at 12:35 PM, Mark Gardner <mjg at phoenixtrap.com> wrote:

> I've found a workaround until and unless I can get DDS fixed. If you
> replace that empty hash reference {} with a hash reference containing an
> empty list {()}, it compiles OK. I've attached a reduced test case that
> demonstrates the difference.
>
> Would you consider using this syntax as a workaround to XML::Compile::SOAP
> for now?
>
>         my @pairs = ( %{delete $data->{Header} || {()}}
>                     , %{delete $data->{Body}   || {()}});
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/xml-compile/attachments/20150414/5eacfa98/attachment.htm>


More information about the Xml-compile mailing list