I copied a Perl module (DBD::Pg
) from one system to another to run some quick checks on a Mojolicious project. On the new system, it all works fine when I run it under morbo
(the Mojolicious test web daemon). But when I try to run the tests (via the Module::Build
installer), I get the error:
Perl API version v5.16.0 of DBD::Pg does not match v5.20.0 at /usr/local/lib/perl/DynaLoader.pm line 216.
I researched why I am getting this, and read the explanation in the perldoc. But since the project runs under morbo
, that seems to imply to me that the version mismatch may be trivial in this case. It looks like PerlXS does make some allowances for disabling VERSIONCHECK, but I don't see how that can be applied when running a Perl script.