http://www.perlmonks.org?node_id=1200802
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I am trying to subtract two different times. I tried to do a regular subtraction of variable. I think it won't work

my $first = "00:00:01:04"; my $last = "00:00:08:861"; my $output = $first-$last;

I am looking to extract each values(hour/min/sec/msec) seperatly after the subraction and assign it to variable and compare with the threshold. Is there any function in perl which does timer subtraction?