Skip to content

Commit

Permalink
use %vd to print vstring
Browse files Browse the repository at this point in the history
  • Loading branch information
gfx committed Nov 28, 2020
1 parent ae3c6e9 commit 7f60596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/App/cpm/CLI.pm
Expand Up @@ -223,7 +223,7 @@ sub cmd_version {
print "This is a self-contained version, $App::cpm::GIT_DESCRIBE ($App::cpm::GIT_URL)\n";
}

print "perl version $^V ($^X)\n\n";
printf "perl version v%vd ($^X)\n\n", $^V;

print " \%Config:\n";
for my $key (qw( archname installsitelib installsitebin installman1dir installman3dir
Expand Down

0 comments on commit 7f60596

Please sign in to comment.