Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the MCE CPAN distribution.

Report information
The Basics
Id: 92697
Status: rejected
Priority: 0/
Queue: MCE

People
Owner: MARIOROY [...] cpan.org
Requestors: TAKADONET [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 1.509



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!
My bad! Forgot to import the forks library! Cheers!
Subject: Re: [rt.cpan.org #92697] Cannot use forks::shared with MCE::Loop
Date: Mon, 3 Feb 2014 16:42:19 -0500
To: bug-MCE [...] rt.cpan.org
From: Mario Roy <marioeroy [...] gmail.com>
:) Ok Philip :) Glad that's it's working. On Mon, Feb 3, 2014 at 4:15 PM, Philip Mabon via RT <bug-MCE@rt.cpan.org>wrote: Show quoted text
> Queue: MCE > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=92697 > > > My bad! Forgot to import the forks library! > > Cheers! >