sandy
sandy copied to clipboard
given is deprecated
The test suite fails with recent perls (5.38 and 5.40):
# Failed test 'use App::SimulateReads::CLI;'
# at /usr/perl5.40.0/lib/site_perl/5.40.0/Test/UseAllModules.pm line 71.
# Tried to use 'App::SimulateReads::CLI'.
# Error: given is deprecated at lib/App/SimulateReads/Base.pm line 69.
# Compilation failed in require at lib/App/SimulateReads/CLI.pm line 4.
# BEGIN failed--compilation aborted at lib/App/SimulateReads/CLI.pm line 4.
# Compilation failed in require at /usr/perl5.40.0/lib/site_perl/5.40.0/Test/UseAllModules.pm line 71.
# BEGIN failed--compilation aborted at /usr/perl5.40.0/lib/site_perl/5.40.0/Test/UseAllModules.pm line 71.
... etc ...
With perl 5.41.x given is completely removed and the error message looks now different (this is with 5.41.4):
# Failed test 'use App::SimulateReads::Fastq;'
# at /opt/perl-5.41.4/lib/site_perl/5.41.4/Test/UseAllModules.pm line 71.
# Tried to use 'App::SimulateReads::Fastq'.
# Error: syntax error at lib/App/SimulateReads/Base.pm line 69, near ") {"
# Execution of lib/App/SimulateReads/Base.pm aborted due to compilation errors.
# Compilation failed in require at lib/App/SimulateReads/Fastq.pm line 4.
# BEGIN failed--compilation aborted at lib/App/SimulateReads/Fastq.pm line 4.
# Compilation failed in require at /opt/perl-5.41.4/lib/site_perl/5.41.4/Test/UseAllModules.pm line 71.
# BEGIN failed--compilation aborted at /opt/perl-5.41.4/lib/site_perl/5.41.4/Test/UseAllModules.pm line 71.