When I have Getopt::Long 2.35 installed (perl 5.8.8.) I get this test failure.
After upgrading to Getopt::Long 2.47 it all went fine.
t/noenv.t .................... 1/5
# Failed test at t/noenv.t line 97.
# 'Undefined subroutine &Getopt::Long::GetOptionsFromString called at /data/usr/local/src/.cpan/build/ack-2.14-nwXyph/blib/lib/App/Ack/ConfigLoader.pm line 593.'
# doesn't match '(?-xism:--noenv found in (?:.*)[.]ackrc)'
# [
# 'Undefined subroutine &Getopt::Long::GetOptionsFromString called at /data/usr/local/src/.cpan/build/ack-2.14-nwXyph/blib/lib/App/Ack/ConfigLoader.pm line 593.'
# ]
# Looks like you failed 1 test of 5.
t/noenv.t .................... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/5 subtests
When I have Getopt::Long 2.35 installed (perl 5.8.8.) I get this test failure. After upgrading to Getopt::Long 2.47 it all went fine.