Thread Deutsche Sommer u. Winterzeit in UTC umrechnen
(39 answers)
Opened by Speedriff at 2013-11-27 14:51
das ist andere Schreibform mit if.
Code (perl): (dl
)
1 2 $temp =~ s/^(\d\d)\.(\d\d)\.(\d\d\d\d)\s(\d\d):(\d\d)/conv_dt($1,$2,$3,$4,$5)/egm if $temp =~ m/^(\d\d)\.(\d\d)\.(\d\d\d\d)\s(\d\d):(\d\d)/; = Code (perl): (dl
)
$temp =~ s/^(\d\d)\.(\d\d)\.(\d\d\d\d)\s(\d\d):(\d\d)/conv_dt($1,$2,$3,$4,$5)/egm if $temp =~ m/^(\d\d)\.(\d\d)\.(\d\d\d\d)\s(\d\d):(\d\d)/; = Code (perl): (dl
)
if ($temp =~ m/^(\d\d)\.(\d\d)\.(\d\d\d\d)\s(\d\d):(\d\d)/) { $temp =~ s/^(\d\d)\.(\d\d)\.(\d\d\d\d)\s(\d\d):(\d\d)/conv_dt($1,$2,$3,$4,$5)/egm } Ich finde so einen langen Wurm schlecht zu lesen und in der nächsten Zeile eingerückt gehts auch. Last edited: 2013-11-28 17:49:27 +0100 (CET) |