[Xml-compile] Syntax errors when loading XML::Compile::Dumper-generated module
Mark Overmeer
mark at overmeer.net
Mon Mar 23 22:06:04 GMT 2015
* Mark Gardner (mjg at phoenixtrap.com) [150323 21:10]:
> syntax error at lib/WebService/Avalara/AvaTax/TaxSvc.pm line 4459, near
> "%{{} unless"
> syntax error at lib/WebService/Avalara/AvaTax/TaxSvc.pm line 4459, near ";}"
> Unmatched right curly bracket at lib/WebService/Avalara/AvaTax/TaxSvc.pm
> line 4459, at end of line
> Unmatched right curly bracket at lib/WebService/Avalara/AvaTax/TaxSvc.pm
> line 4466, at end of line
> syntax error at lib/WebService/Avalara/AvaTax/TaxSvc.pm line 4466, near "}"
Not all Data::Dump::Streamer versions have the same bugs.
It apparently decodes
lib/XML/Compile/SOAP.pm
my @pairs = ( %{delete $data->{Header} || {}}
, %{delete $data->{Body} || {}});
into
my(@pairs) = ( %{{} unless delete $$data{'Header'};}
, %{{} unless delete $$data{'Body'};});
which is explainable but incorrect Perl.
You may be able to get this resolved.
XML::Compile::Dumper may not help your performance at all:
Data::Dump::Streamer should have some de-duplication implemented.
--
Regards,
MarkOv
------------------------------------------------------------------------
Mark Overmeer MSc MARKOV Solutions
Mark at Overmeer.net solutions at overmeer.net
http://Mark.Overmeer.net http://solutions.overmeer.net
More information about the Xml-compile
mailing list