http://search.cpan.org/author/MSERGEANT/Time-Object-1.00/Seconds.pm
that can do it too.
-Original Message-
From: Rob [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 06, 2002 1:19 PM
To: [EMAIL PROTECTED]
Subject: hours minutes and seconds in seconds
I'm working on a script
Rob wrote:
I'm working on a script that parses a log file which gives connection time
in seconds. Below is how I resolved the problem but I think there must be
a better way?
#!/usr/bin/perl -w
use strict;
my $sessionTime = 4000;
my $hour = $sessionTime / 3600;
my $hr =