From 2f197597a7cf4e42dd899aa954e4221fa8bf24e5 Mon Sep 17 00:00:00 2001 From: nasseeder1 Date: Wed, 27 Apr 2016 19:54:27 +0000 Subject: [PATCH] 49_SSCam: module will not load due to Unknown warnings category 'experimental' when using an older perl version git-svn-id: https://svn.fhem.de/fhem/trunk@11333 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 2 ++ fhem/FHEM/49_SSCam.pm | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/fhem/CHANGED b/fhem/CHANGED index 00260a346..4516ab4fe 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,7 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - bugfix: 49_SSCam: module will not load due to Unknown warnings category + 'experimental' when using an older perl version - feature: 71_PHILIPS_AUDIO : Added input support for AW9000 - bugfix: 50_TelegramBot: contact handling failed (/ in contact names ??) - feature: new module 02_FTUISRV.pm for server side templates for tablet UI diff --git a/fhem/FHEM/49_SSCam.pm b/fhem/FHEM/49_SSCam.pm index 020565329..685a5c188 100644 --- a/fhem/FHEM/49_SSCam.pm +++ b/fhem/FHEM/49_SSCam.pm @@ -27,6 +27,8 @@ ########################################################################################################## # Versions History: # +# 1.26.1 27.04.2016 bugfix module will not load due to Unknown warnings category 'experimental' +# when using an older perl version # 1.26 22.04.2016 Attribute "disable" to deactivate the module added # 1.25 18.04.2016 motion detection parameters can be entered if # motion detection by camera or SVS is used @@ -129,7 +131,7 @@ use strict; use warnings; use MIME::Base64; use HttpUtils; -no warnings qw( experimental::autoderef ); # 5.18+ +no if $] >= 5.017011, warnings => 'experimental'; # Aufbau Errorcode-Hashes (siehe Surveillance Station Web API) my %SSCam_errauthlist = (