Skip Menu |

This queue is for tickets about the MP3-Tag CPAN distribution.

Report information
The Basics
Id: 133744
Status: new
Priority: 0/
Queue: MP3-Tag

People
Owner: Nobody in particular
Requestors: justincase [...] yopmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: A long track name or comment can trigger a "Negative repeat count" warning in _interpolate()
If a long track name or comment is present, that is longer than $minwidth, it will cause a warning about "Negative repeat count". This can be prevented by changing the repeat calculation from: ($minwidth - length $str) to max(0, $minwidth - length $str) List::Util has been in core since v5.7.3, but if you want to avoid it, you can use something like: ((sort 0, ($minwidth - length $str))[-1])