Subject: | Fails with perl 5.31.3 and later |
There are compilation errors which happen for bleadperl since 5.31.3:
...
# Failed test 'use Tickit::Widget::FloatBox;'
# at t/00use.t line 8.
# Tried to use 'Tickit::Widget::FloatBox'.
# Error: syntax error at /home/cpansand/.cpan/build/2020040123/Tickit-Widget-FloatBox-0.05-5/blib/lib/Tickit/Widget/FloatBox.pm line 79, near "method children ()"
# Global symbol "$self" requires explicit package name (did you forget to declare "my $self"?) at /home/cpansand/.cpan/build/2020040123/Tickit-Widget-FloatBox-0.05-5/blib/lib/Tickit/Widget/FloatBox.pm line 83.
# Global symbol "$self" requires explicit package name (did you forget to declare "my $self"?) at /home/cpansand/.cpan/build/2020040123/Tickit-Widget-FloatBox-0.05-5/blib/lib/Tickit/Widget/FloatBox.pm line 83.
# Global symbol "@_floats" requires explicit package name (did you forget to declare "my @_floats"?) at /home/cpansand/.cpan/build/2020040123/Tickit-Widget-FloatBox-0.05-5/blib/lib/Tickit/Widget/FloatBox.pm line 84.
# syntax error at /home/cpansand/.cpan/build/2020040123/Tickit-Widget-FloatBox-0.05-5/blib/lib/Tickit/Widget/FloatBox.pm line 89, near "method lines ()"
# Global symbol "$self" requires explicit package name (did you forget to declare "my $self"?) at /home/cpansand/.cpan/build/2020040123/Tickit-Widget-FloatBox-0.05-5/blib/lib/Tickit/Widget/FloatBox.pm line 91.
# Global symbol "$self" requires explicit package name (did you forget to declare "my $self"?) at /home/cpansand/.cpan/build/2020040123/Tickit-Widget-FloatBox-0.05-5/blib/lib/Tickit/Widget/FloatBox.pm line 91.
... (etc) ...
Same failures happen also with PEVANS/Tickit-Widget-ScrollBox-0.08.tar.gz