2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

HP1000: fix Smartmatch warning

git-svn-id: https://svn.fhem.de/fhem/trunk@16961 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
jpawlowski 2018-07-08 16:51:11 +00:00
parent 4b5bad61ad
commit 4ecbd3d93f

View File

@ -3,6 +3,7 @@
package main; package main;
use strict; use strict;
use warnings; use warnings;
no if $] >= 5.017011, warnings => 'experimental::smartmatch';
use Data::Dumper; use Data::Dumper;
use Time::Local; use Time::Local;
use Encode qw(encode_utf8 decode_utf8); use Encode qw(encode_utf8 decode_utf8);
@ -11,6 +12,7 @@ use List::Util qw(sum);
use HttpUtils; use HttpUtils;
use Unit; use Unit;
# module hashes ############################################################### # module hashes ###############################################################
my %HP1000_pwsMapping = ( my %HP1000_pwsMapping = (