- or download this
open my $fh, "<", $infile or die "error opening '$infile':$?";
- or download this
if ( m/^(\d{2}:\d{2}:\d{2},\d+)\s\-\-\>\s(\d{2}:\d{2}:\d{2},\d+)/g
+ ) {
- or download this
my @elems = split(':', $time);
my $seconds = pop @elems;
my $minutes = pop @elems;
my $hours = pop @elems;
- or download this
my ( $hours, $minutes, $seconds ) = split /:/, $time;
- or download this
# force to numerical
$hours += 0; $minutes += 0; $seconds += 0;
- or download this
my $seconds = sprintf( "%02.3f", ( ( $sectime - ( $hours * 3600 )
+) - ( $minutes * 60 )) );