Skip Menu |

This queue is for tickets about the Hash-Util-FieldHash-Compat CPAN distribution.

Report information
The Basics
Id: 115310
Status: resolved
Priority: 0/
Queue: Hash-Util-FieldHash-Compat

People
Owner: Nobody in particular
Requestors: 'spro^^*%*^6ut# [...] &$%*c
Cc:
AdminCc:

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



Subject: Please remove configure requirements
I am trying to test one of my modules, which depends on Hash::Util::FieldHash::Compat, with perl 5.8.7. A stock 5.8.7 installation does not support configure_requires, which causes headaches. (I’ll spare you the details.) In any case, HUFHC does if (not has_module('Hash::Util::FieldHash')) { whereas it could simply do if (! eval 'require Hash::Util::FieldHash') { and save having to load more modules. (This would make installation in newer perls faster, too.) Then the has_module sub can be deleted. I don’t know how you go about doing this within the Dist::Zilla framework.
On Mon Jun 13 17:21:02 2016, SPROUT wrote: Show quoted text
> I am trying to test one of my modules, which depends on > Hash::Util::FieldHash::Compat, with perl 5.8.7. > > A stock 5.8.7 installation does not support configure_requires, which > causes headaches. (I’ll spare you the details.) > > In any case, HUFHC does > > if (not has_module('Hash::Util::FieldHash')) { > > whereas it could simply do > > if (! eval 'require Hash::Util::FieldHash') {
Er, of course braces would be better than quotes. Show quoted text
> > and save having to load more modules. (This would make installation > in newer perls faster, too.) Then the has_module sub can be deleted. > > I don’t know how you go about doing this within the Dist::Zilla > framework.
On 2016-06-13 14:21:02, SPROUT wrote: Show quoted text
> I am trying to test one of my modules, which depends on > Hash::Util::FieldHash::Compat, with perl 5.8.7. > > A stock 5.8.7 installation does not support configure_requires, which > causes headaches. (I’ll spare you the details.)
My sympathies, and I understand! :) 0.11 drops the use of Module::Metadata in configure-requires.