New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PATCH] 5.24 perldelta sprintf typo? #15284
Comments
From @SmylersThis is a bug report for perl from smylers@stripey.com, perldelta for 5.24 RC1 includes: sprintf '|%.*2$|', 2, 3 now returns |002| That gives an error. Putting a d in there gives the stated output. Flags: Site configuration information for perl 5.24.0: Configured by smylers at Tue Apr 19 18:08:18 BST 2016. Summary of my perl5 (revision 5 version 24 subversion 0) configuration: Locally applied patches: @INC for perl 5.24.0: Environment for perl 5.24.0: |
From @Smylers0001-Typo-fix-in-sprintf-example.patchFrom d599f24515043eb6597cd648b431aa53373fc0fb Mon Sep 17 00:00:00 2001
From: Smylers <Smylers@stripey.com>
Date: Tue, 19 Apr 2016 22:19:43 +0100
Subject: [PATCH] Typo fix in sprintf example
---
pod/perldelta.pod | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git pod/perldelta.pod pod/perldelta.pod
index ef1cc4d8..3bb3b6c0 100644
--- pod/perldelta.pod
+++ pod/perldelta.pod
@@ -81,7 +81,7 @@ the C<bigint> pragma, or the C<Bit::Vector> module from CPAN.
=head2 printf and sprintf now allow reordered precision arguments
-That is, C<< sprintf '|%.*2$|', 2, 3 >> now returns C<|002|>. This extends
+That is, C<< sprintf '|%.*2$d|', 2, 3 >> now returns C<|002|>. This extends
the existing reordering mechanism (which allows reordering for arguments
that are used as format fields, widths, and vector separators).
--
1.9.1
|
The RT System itself - Status changed from 'new' to 'open' |
@tonycoz - Status changed from 'open' to 'pending release' |
From @khwilliamsonThank you for submitting this report. You have helped make Perl better. Perl 5.24.0 may be downloaded via https://metacpan.org/release/RJBS/perl-5.24.0 |
@khwilliamson - Status changed from 'pending release' to 'resolved' |
Migrated from rt.perl.org#127936 (status was 'resolved')
Searchable as RT127936$
The text was updated successfully, but these errors were encountered: