<div dir="ltr">I&#39;m trying to use XML::Compile::Dumper to freeze and then reload compiled SOAP clients for the Avalara AvaTax web service, but I&#39;m receiving syntax errors when I try to load the resulting Perl module.<br><br>I&#39;ve posted the generator script and resulting module to Github Gist here: <a href="https://gist.github.com/mjgardner/af277f5204558e32554d">https://gist.github.com/mjgardner/af277f5204558e32554d</a><br><br><div>And these are the errors I get (auth info scrubbed):<br><br>$ AVALARA_USERNAME=<a href="mailto:avalara@sample.com">avalara@sample.com</a> AVALARA_PASSWORD=sekrit share/<a href="http://generate.pl">generate.pl</a> <br>syntax error at lib/WebService/Avalara/AvaTax/TaxSvc.pm line 4459, near &quot;%{{} unless&quot;<br>syntax error at lib/WebService/Avalara/AvaTax/TaxSvc.pm line 4459, near &quot;;}&quot;<br>Unmatched right curly bracket at lib/WebService/Avalara/AvaTax/TaxSvc.pm line 4459, at end of line<br>Unmatched right curly bracket at lib/WebService/Avalara/AvaTax/TaxSvc.pm line 4466, at end of line<br>syntax error at lib/WebService/Avalara/AvaTax/TaxSvc.pm line 4466, near &quot;}&quot;<br>BEGIN not safe after errors--compilation aborted at lib/WebService/Avalara/AvaTax/TaxSvc.pm line 4469.<br>Compilation failed in require at share/<a href="http://generate.pl">generate.pl</a> line 73.<br><br><br>--<br>Mark Gardner $ &lt;<a href="mailto:mjg@phoenixtrap.com">mjg@phoenixtrap.com</a>&gt;</div></div>