Help for this page

Select Code to Download


  1. or download this
    $time = "$1:$2:$3.$4"
        if $time =~ /^(\d{2})(\d{2})(\d{2})\.(\d{2})/;
    
  2. or download this
    if($time =~ /^(\d{2})(\d{2})(\d{2})\.(\d{2})/) {
        $time = "$1:$2:$3.$4";
    ...
    else {
        die "Malformed time: $time\n";
    }