Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

ATM says Perl 5 version 20.1 documentation 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

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

In reply to Re: v5.22.0: Redundant argument in %s versus minimum width in sprintf by Anonymous Monk
in thread v5.22.0: Redundant argument in %s versus minimum width in sprintf by JadeNB

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • 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:
    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
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others meditating upon the Monastery: (1)
    As of 2021-05-08 16:49 GMT
    Find Nodes?
      Voting Booth?
      Perl 7 will be out ...

      Results (96 votes). Check out past polls.