Help for this page

Select Code to Download


  1. or download this
    sub to_seconds {
      my $time_string = shift;
    ...
      }
      return $secs; # returns undef if unable to parse string
    }