编辑:与sudo cpanm Data::Match --force
我正在尝试使用 ubuntu 18.04 安装“Data::Match”perl 模块。我用:
perl Makefile.pl
make
make test
Run Code Online (Sandbox Code Playgroud)
我收到以下错误:
make test
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-Iblib/lib" "-Iblib/arch" test.pl
1..1
# Running under perl version 5.026001 for linux
# Current time local: Wed Jun 29 18:41:13 2022
# Current time GMT: Wed Jun 29 15:41:13 2022
# Using Test.pm version 1.30
Can't use an array as a reference at blib/lib/Data/Match.pm line 968.
Compilation failed in require at test.pl line 10.
BEGIN failed--compilation aborted at test.pl line …Run Code Online (Sandbox Code Playgroud)