Subject: | Cannot use forks::shared with MCE::Loop |
Get a weird message when trying to use forks::shared in conjunction with MCE:::Loop
Script is below:
#!/usr/bin/env perl
use warnings;
use strict;
use forks::shared;
use MCE::Loop;
Error is the following:
Undefined subroutine &threads::shared::_command called at /share/apps/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/x86_64-linux-thread-multi/forks/shared.pm line 716.
BEGIN failed--compilation aborted at /share/apps/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/MCE.pm line 115.
Compilation failed in require at /share/apps/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/MCE/Loop.pm line 14.
BEGIN failed--compilation aborted at /share/apps/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/MCE/Loop.pm line 14.
Compilation failed in require at test.pl line 5.
BEGIN failed--compilation aborted at test.pl line 5.
Not sure if it's a issue with your modules or one of the shared libraries.
Cheers!