diff --git a/Makefile.PL b/Makefile.PL index 964aa3a..5e8503d 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -67,7 +67,7 @@ WriteMakefile( }, clean => { FILES => 'DB/DbgrXS.pm' }, $do_xs ? ( - XS => { 'perl5db.xs' => undef }, + XS => { 'perl5db.xs' => 'perl5db.c' }, OBJECT => 'perl5db.o', ) : ( XS => { }, diff --git a/t/152_property_set.t b/t/152_property_set.t index ee94b45..ea35a77 100644 --- a/t/152_property_set.t +++ b/t/152_property_set.t @@ -156,7 +156,10 @@ command_is(['property_get', '-n', '%foo'], { command_is(['property_set', '-n', '$foo', '--', encode_base64('(aaa')], { apperr => 4, code => 207, - message => "syntax error\n", + message => ($^V < 5.37.9 + ? "syntax error\n" + : "syntax error at (eval 18)[blib/lib/dbgp-helper/perl5db.pl:192] line 1, at EOF\n" . + "Execution of (eval 18)[blib/lib/dbgp-helper/perl5db.pl:192] aborted due to compilation errors.\n"), command => 'property_set', });