Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Parallel-ForkManager CPAN distribution.

Report information
The Basics
Id: 62180
Status: resolved
Priority: 0/
Queue: Parallel-ForkManager

People
Owner: Nobody in particular
Requestors: jalance [...] bluehost.com
Cc:
AdminCc:

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



Subject: $VERSION is string instead of number
Date: Fri, 15 Oct 2010 15:33:29 -0600
To: bug-Parallel-ForkManager [...] rt.cpan.org
From: James Lance <jalance [...] bluehost.com>
I ran across a problem today where I thought I was using a version of Parallel::ForkManager where I thought it had the datastructure passing. After discovering that I was in 0.7.5 I added the following use statement: use Parallel::ForkManager 0.7.7. I'm getting this error message: Argument "0.7.7" isn't numeric in subroutine entry In Parallell::ForkManager line 443 (0.7.7) it is: $VERSION='0.7.7'; After changing that to a number instead of a string then the use statement works properly and dies if the version is too low. Thanks, James Lance
Versioning in Perl is not as easy as it looks, but I think this solution is OK for either ExtUtil::MakeMaker and for the "require" function as well. http://code.google.com/p/perl-parallel-forkmanager/source/detail? r=826884c999158810bfcbf9b30454b2ca688c12c3 It will be part of the next release.