<div dir="ltr">Hi,<div><br></div><div> I'm trying to send some amq messages over perl + rabbitmq. But code that works fine from shell fails to run from FS:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>2018-08-14 14:47:41.828130 [ERR] mod_perl.c:72 [require '/etc/freeswitch/perl/<a href="http://perl-task.pl" target="_blank">perl-task.pl</a>';]</div></div><div><div>Attempt to free unreferenced scalar: SV 0x7f4cf90a98b0, Perl interpreter: 0x7f4cd8b64ca0 at /usr/local/lib/x86_64-linux-gnu/perl/5.22.1/Coro/AnyEvent.pm line 182.</div></div><div><div>Compilation failed in require at /usr/local/share/perl/5.22.1/Net/RabbitFoot.pm line 8.</div></div><div><div>BEGIN failed--compilation aborted at /usr/local/share/perl/5.22.1/Net/RabbitFoot.pm line 8.</div></div><div><div>Compilation failed in require at /etc/freeswitch/perl/<a href="http://perl-task.pl" target="_blank">perl-task.pl</a> line 6.</div></div><div><div>BEGIN failed--compilation aborted at /etc/freeswitch/perl/<a href="http://perl-task.pl" target="_blank">perl-task.pl</a> line 6.</div></div><div><div>Compilation failed in require at (eval 3) line 1.</div></div></blockquote><div><div><br></div></div><div>Code is pure example from rabbitmq-perl <a href="https://github.com/rabbitmq/rabbitmq-tutorials/blob/master/perl/new_task.pl">https://github.com/rabbitmq/rabbitmq-tutorials/blob/master/perl/new_task.pl</a> </div><div><br></div><div>Do you have idea what might be wrong here?</div></div>