Subject: | Bareword "WIDTH_CURSOR" not allowed |
The test suite fails on some of my smoker boxes:
...
Bailout called. Further testing stopped:
# Failed test 'use Term::TablePrint;'
# at t/00-load.t line 8.
# Tried to use 'Term::TablePrint'.
# Error: Bareword "WIDTH_CURSOR" not allowed while "strict subs" in use at /home/cpansand/.cpan/build/2019050700/Term-TablePrint-0.110-OY0TIO/blib/lib/Term/TablePrint/ProgressBar.pm line 38.
# Compilation failed in require at /home/cpansand/.cpan/build/2019050700/Term-TablePrint-0.110-OY0TIO/blib/lib/Term/TablePrint.pm line 19.
# BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2019050700/Term-TablePrint-0.110-OY0TIO/blib/lib/Term/TablePrint.pm line 19.
# Compilation failed in require at t/00-load.t line 8.
# BEGIN failed--compilation aborted at t/00-load.t line 8.
Use of uninitialized value $Term::TablePrint::VERSION in concatenation (.) or string at t/00-load.t line 11.
# Testing Term::TablePrint , Perl 5.020001, /usr/perl5.20.1Dp/bin/perl5.20.1
# Looks like you failed 1 test of 1.
FAILED--Further testing stopped.
*** Error code 1
...
This seems to happen if Term::Choose is too old. Statistical analysis (theta=0 means "bad"):
****************************************************************
Regression 'mod:Term::Choose'
****************************************************************
Name Theta StdErr T-stat
[0='const'] 0.0000 0.0000 0.00
[1='eq_1.646'] 0.0000 0.0000 0.00
[2='eq_1.647'] 0.0000 0.0000 0.00
[3='eq_1.648'] 1.0000 0.0000 65252205644226656.00
R^2= 1.000, N= 82, K= 4
****************************************************************