Subject: | Unescaped left brace in regex is illegal here in regex |
With perl 5.25.1 and later the test suite fails:
# Failed test 'use SNMP::Trapinfo;'
# at t/SNMP-Trapinfo.t line 9.
# Tried to use 'SNMP::Trapinfo'.
# Error: Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\${ <-- HERE ([\w\-\.\*:]+)}/ at /tmpfs/.cpan-build-cpansand/2016082621/SNMP-Trapinfo-1.03-0/blib/lib/SNMP/Trapinfo.pm line 67.
# Compilation failed in require at t/SNMP-Trapinfo.t line 9.
# BEGIN failed--compilation aborted at t/SNMP-Trapinfo.t line 9.
# Failed test 'The class (or class-like) '*File::Temp::$fh' isa 'SNMP::Trapinfo''
# at t/SNMP-Trapinfo.t line 55.
# The class (or class-like) '*File::Temp::$fh' isn't a 'SNMP::Trapinfo'
Can't locate object method "hostname" via package "IO::File" at t/SNMP-Trapinfo.t line 57.
# Looks like your test exited with 255 just after 2.
t/SNMP-Trapinfo.t ..
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 100/100 subtests
See also http://matrix.cpantesters.org/?dist=SNMP-Trapinfo%201.03 for an overview of test reports.