FHEM Forum

FHEM => English Corner => Thema gestartet von: alangward am 22 Januar 2017, 12:08:27

Titel: Code problem in 90_at.pm
Beitrag von: alangward am 22 Januar 2017, 12:08:27
Hi,
I know this is probably the wrong place to post this, but I have no German and can't figure out where it would be better.
I have just upgraded the software in my Synology and I guess it must have installed a later version of PERL.
I am now getting a warning every time I load FHEM:

Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^\+?\*{ <-- HERE \d+}/ at ./FHEM/90_at.pm line 177, <$fh> line 39.

I've looked at the code but my understanding of regex in PERL is inadequate to think of a fix.

The file date of that module on my system is 15/11/2015.

Thanks
Alan
Titel: Antw:Code problem in 90_at.pm
Beitrag von: rudolfkoenig am 22 Januar 2017, 12:54:44
ZitatThe file date of that module on my system is 15/11/2015.
Perhaps its time to update FHEM too? There is a FHEM update command for this purpose. If you still experience problems after the update, feel free to report it.
Titel: Antw:Code problem in 90_at.pm
Beitrag von: alangward am 26 Januar 2017, 14:13:34
Thanks for the reply.
I was not aware of the update mechanism. It worked perfectly and the problem has now gone away.

Thanks
Alan