Subject: | s///r requires newer perl |
Compulation of the module fails for older perl (e.g. perl 5.12.5), so either the s///r construct shouldn't be used or the minimum perl version should be increased:
...
PERL_DL_NONLAZY=1 "/data/perl/perl-5.12.5/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
Bareword found where operator expected at /data/home/cpansand/.cpan/build/2019122614/Net-Compare-0.02-1/blib/lib/Net/Compare.pm line 33, near "s/\n//r"
Bareword found where operator expected at /data/home/cpansand/.cpan/build/2019122614/Net-Compare-0.02-1/blib/lib/Net/Compare.pm line 34, near "s/\n//r"
Bailout called. Further testing stopped:
...