Failure
Text::Levenshtein 0.15 fails in CPAN run 20260827-102602-1611 only in t/24-ignore-diacritics.t because Unicode::Collate cannot find Unicode/Collate/allkeys.txt through @INC.
Unicode::Collate: Can't locate Unicode/Collate/allkeys.txt in @INC
The first eight test programs pass (240 subtests). The diacritic test aborts before running its planned 12 assertions.
Root cause
The source tree contains src/main/perl/lib/Unicode/Collate/allkeys.txt, and the bundled Unicode::Collate.pm intentionally uses this file-based DUCET table. However, the active PerlOnJava JAR does not contain the resource.
The Gradle processResources configuration includes Perl source/document extensions (*.pm, *.ph, *.pod, and others) but does not include *.txt, so the collation table is excluded from the packaged runtime.
Baseline
Text::Levenshtein is pure Perl. Under system Perl, its full upstream suite passes: 9 files, 252 tests, Result: PASS.
Expected behavior
Package the required Unicode/Collate/allkeys.txt resource (and retain any other required Collate table files) in the runtime JAR so Unicode::Collate->new can resolve it through normal @INC lookup.
Failure
Text::Levenshtein0.15 fails in CPAN run20260827-102602-1611only int/24-ignore-diacritics.tbecauseUnicode::Collatecannot findUnicode/Collate/allkeys.txtthrough@INC.The first eight test programs pass (240 subtests). The diacritic test aborts before running its planned 12 assertions.
Root cause
The source tree contains
src/main/perl/lib/Unicode/Collate/allkeys.txt, and the bundledUnicode::Collate.pmintentionally uses this file-based DUCET table. However, the active PerlOnJava JAR does not contain the resource.The Gradle
processResourcesconfiguration includes Perl source/document extensions (*.pm,*.ph,*.pod, and others) but does not include*.txt, so the collation table is excluded from the packaged runtime.Baseline
Text::Levenshteinis pure Perl. Under system Perl, its full upstream suite passes: 9 files, 252 tests,Result: PASS.Expected behavior
Package the required
Unicode/Collate/allkeys.txtresource (and retain any other required Collate table files) in the runtime JAR soUnicode::Collate->newcan resolve it through normal@INClookup.