Subject: | In '(?...)', the '(' and '?' must be adjacent in regex |
Compilation fails for perl 5.22.0 and later:
# Failed test 'use Samba::LDAP;'
# at t/00.load.t line 8.
# Tried to use 'Samba::LDAP'.
# Error: In '(?...)', the '(' and '?' must be adjacent in regex; marked by <-- HERE in m/(?xms:
# \A # Start of string
# \s* # Whitespace 0 or more
#
# # Match one or the other
# ( ? <-- HERE : [#] | [;] | \z )
# )/ at /tmpfs/.cpan-build/2015112112/Samba-LDAP-0.05-2mzIzf/blib/lib/Samba/LDAP/Config.pm line 45, <DATA> line 755.
# Compilation failed in require at /tmpfs/.cpan-build/2015112112/Samba-LDAP-0.05-2mzIzf/blib/lib/Samba/LDAP/Base.pm line 9, <DATA> line 755.
# BEGIN failed--compilation aborted at /tmpfs/.cpan-build/2015112112/Samba-LDAP-0.05-2mzIzf/blib/lib/Samba/LDAP/Base.pm line 9, <DATA> line 755.
# Compilation failed in require at /opt/perl-5.22.0t/lib/5.22.0/base.pm line 99, <DATA> line 755.
# ...propagated at /opt/perl-5.22.0t/lib/5.22.0/base.pm line 108, <DATA> line 755.
# BEGIN failed--compilation aborted at /tmpfs/.cpan-build/2015112112/Samba-LDAP-0.05-2mzIzf/blib/lib/Samba/LDAP.pm line 12, <DATA> line 755.
# Compilation failed in require at t/00.load.t line 8, <DATA> line 755.
# BEGIN failed--compilation aborted at t/00.load.t line 8, <DATA> line 755.
Use of uninitialized value $Samba::LDAP::VERSION in concatenation (.) or string at t/00.load.t line 11, <DATA> line 755.
# Testing Samba::LDAP
# Looks like you failed 1 test of 1.
t/00.load.t ..............
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests