Autor Thema: Code problem in 90_at.pm  (Gelesen 1312 mal)

Offline alangward

  • New Member
  • *
  • Beiträge: 35
Code problem in 90_at.pm
« 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

Offline rudolfkoenig

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 24686
Antw:Code problem in 90_at.pm
« Antwort #1 am: 22 Januar 2017, 12:54:44 »
Zitat
The 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.

Offline alangward

  • New Member
  • *
  • Beiträge: 35
Antw:Code problem in 90_at.pm
« Antwort #2 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

 

decade-submarginal