In article <>,
J?rgen Exner <> wrote:
> Not to make too fine a point but isn't that basic arithmetic at second
> grade level?
well, I actually am doing the following:
use File::stat;
my $file = "time.pl";
my $sb = stat $file;
my $lmod = $sb->mtime;
my $tnow = time;
my $diff = $tnow - $lmod;
my ($sec,$min,$hour) = (localtime($diff))[0,1,2];
my $time = sprintf( "%1d hr %1d mins %1d secs", $hour - 1, $min, $sec );
Now, I would like to keep showing hours like 25,26 etc... (not days) any
ideas?
thanks
|