in reply to Re^4: Execute on conditional check
in thread Execute on conditional check
towhile ($time_val == "08:28:00") {
Update: (thanks to Perlbotics)if ($time_val eq "08:28:00") {
also change
to$time_val="$hour:$min:$sec";
Then all values smaller than 10 will be formatted with two digits.$time_val=sprintf("%02d:%02d:%02d", $hour, $min ,$sec);
|
|---|