Subject: | silent mode results in uninitialized value warnings |
Using the option silent during construction of the Term::ProgressBar object, results in undef values as return of update method. Therefore, all example code in the documentation reports use of uninitialized value warnings.
According to the documentation: "Instead, tell the constructor you want it to be silent and you don't need to change the rest of your program" is not possible without modification.
I am using if (defined $next_value && $_ >= $next_value) to avoid the warnings, but the behavior should be changed, that updates returns the next value independently of silent or non-silent mode.
Best,
Frank