[tex-live] tlmgr warning with perl 5.22.0
lomov.vl at gmail.com
Wed Jun 24 10:41:20 CEST 2015
** Karl Berry [2015-06-23 22:54:25 +0000]:
> Redundant argument in sprintf at
> /usr/local/opt/texlive/2015/bin/i386-freebsd/tlmgr line 3109.
> As far as I can see, this is a bug in Perl 5.22.0. For instance, the
> Perl manual has this example:
> printf '<%*2$s>', "a", 6; # prints "< a>"
> Perl 5.22.0, with -w, reports the same warning:
> Redundant argument in printf at /tmp/x.pl line 1.
> But Both arguments are being used -- the a is the value, the 6 is the
> field length. I'll see if I can report it to Perl.
I reported recently about this issue on the list with a solution, see
As for the behaviour, it is documented in perldelta(1perl), section "New
Redundant argument in %s
(W redundant) You called a function with more arguments than were
needed, as indicated by information within other arguments you
supplied (e.g. a printf format). Currently only emitted when a
printf-type format required fewer arguments than were supplied, but
might be used in the future for e.g. "pack" in perlfunc.
The warnings category "redundant" is new. See also [perl #121025]
WBR, Vladimir Lomov
It's Like This
Even the samurai
have teddy bears,
and even the teddy bears
More information about the tex-live