Hi,

 I'm trying to send some amq messages over perl + rabbitmq. But code that works fine from shell fails to run from FS:

2018-08-14 14:47:41.828130 [ERR] mod_perl.c:72 [require '/etc/freeswitch/perl/perl-task.pl';]
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.
Compilation failed in require at /usr/local/share/perl/5.22.1/Net/RabbitFoot.pm line 8.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.22.1/Net/RabbitFoot.pm line 8.
Compilation failed in require at /etc/freeswitch/perl/perl-task.pl line 6.
BEGIN failed--compilation aborted at /etc/freeswitch/perl/perl-task.pl line 6.
Compilation failed in require at (eval 3) line 1.

Code is pure example from rabbitmq-perl https://github.com/rabbitmq/rabbitmq-tutorials/blob/master/perl/new_task.pl 

Do you have idea what might be wrong here?