Subject: | syntax error with older perls |
With perl 5.8.9 the test suite fails:
...
Bareword found where operator expected at /data/home/cpansand/.cpan/build/2020022214/Colouring-In-0.15-0/blib/lib/Colouring/In.pm line 345, near "use Colouring::In qw/lighten"
(Might be a runaway multi-line // string starting on line 306)
Bailout called. Further testing stopped:
# Failed test 'use Colouring::In;'
# at t/00-load.t line 10.
# Tried to use 'Colouring::In'.
# Error: Global symbol "$g" requires explicit package name at /data/home/cpansand/.cpan/build/2020022214/Colouring-In-0.15-0/blib/lib/Colouring/In.pm line 304.
# Global symbol "$g" requires explicit package name at /data/home/cpansand/.cpan/build/2020022214/Colouring-In-0.15-0/blib/lib/Colouring/In.pm line 306.
# Global symbol "$black" requires explicit package name at /data/home/cpansand/.cpan/build/2020022214/Colouring-In-0.15-0/blib/lib/Colouring/In.pm line 306.
... (etc) ...
So either perl minimum version needs to be adjusted, or the problematic syntactic constructs replaced.