2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

30_HUEBridge.pm: nested sub fix

git-svn-id: https://svn.fhem.de/fhem/trunk@25950 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2022-04-12 18:19:50 +00:00
parent 7af0bde28d
commit 9843de4b3b

View File

@ -2145,7 +2145,7 @@ HUEBridge_Autocreate($;$$)
}
}
sub sum { my $sum = 0; $sum += $_ for @_; return $sum }
local *sum = sub { my $sum = 0; $sum += $_ for @_; return $sum };
my $created = join( '/', @created );
my $ignored = join( '/', @ignored );