<p>It could be related to the fact that app_perl uses the flag for global exporting, as it is needed by the embedded interpreter. That may lead to naming conflict of exported structured by other modules.</p>

<p>In attempt to fix it, I pushed a commit to allow the structure to be prefixed with <code>_modulename_</code>.</p>

<p>Try to change the name of <code>exports</code> structure in app_perl module to <code>_app_perl_exports</code>.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/kamailio/kamailio/issues/333#issuecomment-141841325">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZdsekCOt1vxwyBbSWi_YABsUJnw8ks5ozyk0gaJpZM4F_1kj.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/333#issuecomment-141841325"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>