Originally posted by: <email address deleted>
Ich hab seit ein paar Tagen das Problem, das meine 99_MyUtils nach einem
shutdown/restart deaktiviert wird.
2012.10.05 13:53:53 1: reload: Error:Modul 99_MyUtils deactivated:
Bareword "prg_DispUpdate" not allowed while "strict subs" in use at
./FHEM/99_MyUtils.pm line 199, <$fh> line 5.
Wenn ich über Edit Files 99_MyUtils aufrufe und einfach ohne Änderung
wieder speichere, ist alles okay. Keine Fehlermeldung. Alles funktioniert.
Zeile 199 ist die dritte von unten.
Was mache ich falsch?
#
sub
prg_Nachtlicht_on ()
{
if (Value("Nachtlicht_Treppenhaus") ne "on") {
fhem("set Nachtlicht_Treppenhaus on")
};
if (Value("Nachtlicht_Kueche") ne "on") {
fhem ("set Nachtlicht_Kueche on")
};
if (!$data{NL_on}) {$data{NL_on} = 1};
prg_DispUpdate;
return
}
#
--
To unsubscribe from this group, send email to
fhem-users+unsubscribe@googlegroups.com
Originally posted by: <email address deleted>
prg_DispUdate*()*; ?
--
To unsubscribe from this group, send email to
fhem-users+unsubscribe@googlegroups.com