Help for this page
sub to_seconds { my $time_string = shift; ... } return $secs; # returns undef if unable to parse string }