Skip Menu |

This queue is for tickets about the Math-Random-MTwist CPAN distribution.

Report information
The Basics
Id: 96482
Status: resolved
Priority: 0/
Queue: Math-Random-MTwist

People
Owner: Nobody in particular
Requestors: pagenyon [...] gmail.com
Cc:
AdminCc:

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



Subject: works fine with perl 5.8
please don't force 5.10 when it's not necessary. your dist passed all tests on perl 5.8. if you need certain features in a compiler, you can test for them using Devel::CheckLib.
On Mon Jun 16 17:39:06 2014, pagenyon wrote: Show quoted text
> please don't force 5.10 when it's not necessary. your dist passed all > tests on perl 5.8. if you need certain features in a compiler, you can > test for them using Devel::CheckLib.
A related issue: you need to add constant v1.03 to the requirements list, or change your constant use to single constants only, i.e. change to: use constant MT_TIMESEED => \0; use constant MT_FASTSEED => \0; use constant MT_GOODSEED => \0; use constant MT_BESTSEED => \0; With the hash constant, if they have constant v1.02 or earlier, the module fails. This is independent of the Perl version. Additionally, tested with 5.8.9, 5.8.2, and 5.6.2 (*). For 5.6.2, I needed to add: "STRLEN T_UV" to the Makefile.PL typemap creation. Honestly at this point 5.6.2 is dubious for support, but there are still some crazy old systems that use it. 5.8 is still around enough that I agree with the ticket.
The reason for Perl 5.10 is explained in the README file. $ corelist constant 1.03 constant 1.03 was released with perl v5.7.3 No issue either.
On 2015-05-25 15:06:11, CGPAN wrote: Show quoted text
> The reason for Perl 5.10 is explained in the README file.
I cannot follow the reasoning there. It's easily possible to install and use a modern perl on an old operating system with an old compiler, or vice versa an old perl on a modern system.
Done in 0.18.