Fix use VERSION test failures under PERL_UNICODE
authorFather Chrysostomos <sprout@cpan.org>
Thu, 8 Dec 2011 16:42:31 +0000 (08:42 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Thu, 8 Dec 2011 16:42:31 +0000 (08:42 -0800)
commit81bccfe42ad445b6e06432af7d7657baccd86a50
treedf4834b0d5e9c54a2108656c0bdd92ef153b1bee
parent8b46c09ba8a3ae75055618a6e0bb4da2fac1b138
Fix use VERSION test failures under PERL_UNICODE

use VERSION now checks whether HINT_LOCALIZE_HH is set, which indi-
cates that %^H has been modified.  If it is set, it does ‘no feature’
first, regardless of the version number.

Some tests were checking that feature.pm is not loaded for use 5.8.8.
Now it is sometimes, particularly if PERL_UNICODE has been set, as it
adds keys to %^H.

For now, I’ve tweaked the tests.  It would be nice if version declara-
tions could load and unload features without loading feature.pm, just
as they do with strictures.
t/lib/feature/implicit
t/op/override.t