Perl Monk, Perl Meditation | |
PerlMonks |
Re: v5.22.0: Redundant argument in %s versus minimum width in sprintfby Anonymous Monk |
on Jul 01, 2015 at 06:55 UTC ( [id://1132760]=note: print w/replies, xml ) | Need Help?? |
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
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
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 Section
Seekers of Perl Wisdom
|
|