Subject: | $Config{extensions} not a reason to skip |
The 03-utf8.t test has code that skips the entire test when
$Config{extensions} does not contain Encode. This is pretty wrong
because even when a user has compiled pero without the Encode extension
he may well have Encode installed. In fact this was my default setup for
a long time: to safe time I compiled my perls without Encode and built
it later on demand. This (among other influences) prevented that I
discovered the other bug earlier.
So my suggestion is this pseudopatch:
- require Config; import Config;
- if ($Config{'extensions'} !~ /\bEncode\b/) {
+ unless (eval { require Encode; 1 }) {
Thanks,