Menu

#93 ddclient 3.9.0 breaks old Perl versions by using match modifier "a"

current_version
open
nobody
None
5
2018-09-16
2018-09-16
No

ddclient 3.9.0 uses the match modifier "a" in line 2277. This modifier was introduced in Perl 5.14 and fails on older Perl versions like 5.10 which is used by RHEL/CentOS 6 (still supported).

Errror message:

Bareword found where operator expected at /usr/local/bin/ddclient line 2277, near "/((:{0,2}[A-F0-9]{1,4}){0,7}:{1,2}[A-F0-9]{1,4})/ai"
(Missing operator before ai?)
syntax error at /usr/local/bin/ddclient line 2277, near "/((:{0,2}[A-F0-9]{1,4}){0,7}:{1,2}[A-F0-9]{1,4})/ai"

Maybe that modifier could be avoided to make ddclient run on older Linux installations again.

Discussion


Log in to post a comment.