Subject: | Experimental pop on scalar is now forbidden |
Module compilation fails for perls >= 5.24 (with the above error message) and perls <= 5.12 (for roughly the same reason):
# Failed test 'use Term::ReadLine::Tiny;'
# at t/00-load.t line 7.
# Tried to use 'Term::ReadLine::Tiny'.
# Error: Experimental pop on scalar is now forbidden at /home/cpansand/.cpan/build/2017042215/Term-ReadLine-Tiny-1.00-5/blib/lib/Term/ReadLine/Tiny.pm line 282, near "$history unless"
# Compilation failed in require at t/00-load.t line 7.
# BEGIN failed--compilation aborted at t/00-load.t line 7.
# Failed test 'use Term::ReadLine::Tiny;'
# at t/00-load.t line 7.
# Tried to use 'Term::ReadLine::Tiny'.
# Error: Type of arg 1 to pop must be array (not private variable) at /usr/home/eserte/.cpan/build/2017042215/Term-ReadLine-Tiny-1.00-1/blib/lib/Term/ReadLine/Tiny.pm line 282, near "$history unless"
# Compilation failed in require at t/00-load.t line 7.
# BEGIN failed--compilation aborted at t/00-load.t line 7.