Skip Menu |

This queue is for tickets about the forks CPAN distribution.

Report information
The Basics
Id: 24971
Status: resolved
Priority: 0/
Queue: forks

People
Owner: RYBSKEJ [...] cpan.org
Requestors: justice8 [...] wanadoo.fr
Cc:
AdminCc:

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



Subject: Version string missing in README/Module itself make MakeMaker to return a failure status
Hi, in README and in forks module, version string is missing, this lead MakeMaker to return failure status when building a makefile and a tool like 'dh-make-perl' (on GNU/Debian) don't really like this and refuse to do anything. (patch attached). Regards.
Subject: forks.diff
diff -uN forks-0.20/README forks-0.20-mh/README --- forks-0.20/README 2006-05-22 04:12:29.000000000 +0200 +++ forks-0.20-mh/README 2007-02-13 10:57:14.715819592 +0100 @@ -1,5 +1,8 @@ README for forks +Version: + 0.20 + The forks.pm module is a drop-in replacement for threads.pm. It has the same syntax as the threads.pm module (it even takes over its namespace) but has some significant differences: --- forks-0.20/lib/forks.pm 2006-10-06 03:51:08.000000000 +0200 +++ forks-0.20-mh/lib/forks.pm 2007-02-13 10:56:30.129597728 +0100 @@ -1,4 +1,5 @@ package forks; # make sure CPAN picks up on forks.pm + $VERSION = '0.20'; package threads; # but in fact we're masquerading as threads.pm @@ -1871,6 +1872,10 @@ __END__ =pod +=head1 VERSION + +This documentation describes version 0.20. + =head1 NAME forks - drop-in replacement for Perl threads using fork()
The next release of forks will include the appropriate support in required package files. Regarding your submitted patch, is the extra space between the 'package forks;' and '$VERSION = ...;' lines in the forks.pm file really required for your package parser to read the version from the module?
Appropriate POD and README documentation has been updated in forks 0.21 release.