mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
DevIo.pm: more no strict refs for callbacks (Forum #110125)
git-svn-id: https://svn.fhem.de/fhem/trunk@21668 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
629aec061a
commit
4de1d22eca
@ -234,7 +234,9 @@ DevIo_OpenDev($$$;$)
|
||||
my $doCb = sub ($) {
|
||||
my ($r) = @_;
|
||||
Log3 $name, 1, "$name: Can't connect to $dev: $r" if(!$reopen && $r);
|
||||
no strict "refs";
|
||||
$callback->($hash,$r) if($callback);
|
||||
use strict "refs";
|
||||
return $r;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user