Wieso kennt 99_myUtils die Variable $we nicht?
Link (http://forum.fhem.de/index.php?topic=14558.msg96455#msg96455)
Weil $we keine globale Variable ist, sondern nur im Kontext der Perl-Evaluirungen bekannt ist, genauso wie $hour, $hms, etc. Zitat aus http://fhem.de/commandref.html#perl (//fhem.de/commandref.html#perl)
To make date and time handling easier, the variables $sec, $min, $hour, $mday, $month, $year, $wday, $yday, $isdst are available in the perl oneliners.
...
Additionally the variabe $we is 1 if it is weekend
...
Zitat von: rudolfkoenig schrieb am Sa, 28 September 2013 08:09Weil $we keine globale Variable ist,
schade eigentlich :)