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:
parent
7af0bde28d
commit
9843de4b3b
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user