Help for this page
use strict; ... printf( "Total time is %d minutes and %d seconds\n", int( $totalsec / 60 ), $totalsec % 60 );
for ( @lines0 ) { my ( $hrs,$mins,$sec ) = split( /:/, pop( split /\s+/ )); $totalsec += ... }