Skip to content

Commit 78f512d

Browse files
haargbingos
authored andcommitted
fix 5.6 compat by removing indexed sprintf (#262)
There is a helper function in ExtUtils::MakeMaker for this, but that seems excessive to load in EU::Command::MM.
1 parent e14abd1 commit 78f512d

File tree

1 file changed

+2
-2
lines changed
  • lib/ExtUtils/Command

1 file changed

+2
-2
lines changed

lib/ExtUtils/Command/MM.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,8 @@ sub perllocal_install {
219219
: @ARGV;
220220
221221
my $pod;
222-
$pod = sprintf <<'POD', scalar(localtime), $type, $name;
223-
=head2 %s: C<%s> L<%3$s|%3$s>
222+
$pod = sprintf <<'POD', scalar(localtime), $type, $name, $name;
223+
=head2 %s: C<%s> L<%s|%s>
224224
225225
=over 4
226226

0 commit comments

Comments
 (0)