Symptoms: - The "About" page gives a 500 Internal Server Error - plack-error.log shows: "Invalid version format (non-numeric data) at /usr/share/koha/lib/C4/Installer/PerlModules.pm line 83, <DATA> line 755." This is on Ubuntu 20.04.5 and Perl 5.30.0. /usr/share/koha/lib/C4/Installer/PerlModules.pm line 83 looks like this: my $pkg_version = $module->can("VERSION") ? $module->VERSION : 0; After some digging it looks like HTML::Table version 2.08a is causing this. Test script: #!/usr/bin/perl use Modern::Perl; use Data::Dumper; my $module = "HTML::Table"; eval "require $module"; say Dumper $module->can("VERSION"); say $module->VERSION; say "OK"; Output: $VAR1 = sub { "DUMMY" }; Invalid version format (non-numeric data) at test_version.pl line 10. Not sure how to work around this.
Looks like this problem was reported ~13 years ago: https://rt.cpan.org/Public/Bug/Display.html?id=62165
Ah looks like this was caused by us applying the work from bug 27510 a bit prematurely. Never mind!