Skip to content

Commit 24b25ab

Browse files
committed
fix perl5db.pl to import the correct feature bundle
1 parent ad1efdf commit 24b25ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/perl5db.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ package DB;
523523

524524
BEGIN {
525525
require feature;
526-
$^V =~ /^v(\d+\.\d+)/;
526+
$^V =~ /^v(5\.\d+|\d+)/;
527527
feature->import(":$1");
528528
$_initial_cwd = Cwd::getcwd();
529529
}

0 commit comments

Comments
 (0)