Help for this page

Select Code to Download


  1. or download this
    # file Secs.pm
    package Secs;
    ...
        sprintf "%d:%02d:%02d",$h,$m,$_[0]-$h*3600-$m*60;
    }
    1;
    
  2. or download this
    use Secs;
    
    print Secs->new($end - $start),"\n";