|Subject:||compile error: GIMME undefined in blead perl|
As of commit 7143f21c482af816521c0e2affd8270cb71e7f9a ("Disallow GIMME in ext/"), List::MoreUtils doesn't compile anymore under blead perl: MoreUtils.xs: In function 'XS_List__MoreUtils_uniq': MoreUtils.xs:1570:6: error: 'GIMME' undeclared (first use in this function) This is because GIMME has been deprecated for a while and now all of its uses in core and ext/ have been removed. List::MoreUtils is also affected because it manually defines PERL_EXT in its Makefile.PL to get at cxinc:This problem can be fixed in two ways: 1. Use GIMME_V instead of GIMME (this is the non-deprecated way to check context). 2. Only define PERL_EXT if $^V < 5.12.0 because cxinc() has been public since 5.12, so this hack is no longer needed.