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

98_structure.pm: split via \s+ (Forum #119054)

git-svn-id: https://svn.fhem.de/fhem/trunk@23818 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2021-02-24 10:23:46 +00:00
parent d3550155f7
commit d6c9d2b1af

View File

@ -122,7 +122,7 @@ structure_setDevs($;$)
$def = "$hash->{NAME} structure $hash->{DEF}" if(!$def);
my $c = $hash->{".memberHash"};
my @a = split(/\s/, $def);
my @a = split(/\s+/, $def);
my $devname = shift(@a);
my $modname = shift(@a);
my $stype = shift(@a);