Since the printf formats and values are dynamically assembled (by design), I opted for using indexes in the format symbols, which keeps Perl happy, although at the cost of readability. I admit I was on the balance on whether to use "no warnings 'redundant'" as a simpler "definite" solution, but that would theoretically break if the wording of the warning changes. :-/
If you encounter problems please report. Feedback is crucial.
Hi Romain,
Yes, I had that into account. /github. com/percona/ percona- toolkit/ pull/73/
The sprintf issue appeared in more than one place.
The "unified" commit for that is here:
https:/
Since the printf formats and values are dynamically assembled (by design), I opted for using indexes in the format symbols, which keeps Perl happy, although at the cost of readability. I admit I was on the balance on whether to use "no warnings 'redundant'" as a simpler "definite" solution, but that would theoretically break if the wording of the warning changes. :-/
If you encounter problems please report. Feedback is crucial.
Regards and again thanks Romain