ATM http://perldoc.perl.org/functions/sprintf.html#%28minimum%29-width says Perl 5 version 20.1 documentation
https://metacpan.org/pod/perlfunc#sprintf-FORMAT-LIST is ATM v5.22.0 current
The introduction Bug #121025 for perl5: printf warns about too few arguments, but not too many
Add a new warning about redundant printf arguments
I guess its a bug in the warnings ...
bugs like this are frequent ( not testing stuff thats in the documentation, then it breaks)
But then again http://perl5.git.perl.org/perl.git/blob/HEAD:/t/op/sprintf.t
647 >%y< >''< >%y INVALID REDUNDANT<
648 >%z< >''< >%z INVALID REDUNDANT<
649 >%2$d %1$d< >[12, 34]< >34 12<
650 >%*2$d< >[12, 3]< > 12 REDUNDANT<
651 >%2$d %d< >[12, 34]< >34 12<
652 >%2$d %d %d< >[12, 34]< >34 12 34<
653 >%3$d %d %d< >[12, 34, 56]< >56 12 34<
654 >%2$*3$d %d< >[12, 34, 3]< > 34 12<
655 >%*3$2$d %d< >[12, 34, 3]< >%*3$2$d 12 INVALID REDUNDANT<
It also happens frequently that stuff gets implemented by those who don't understand how it works .... so this needs a new bug on rt because one of these things is wrong , whichever one it is
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||