Date::Manip is quite nice. Very flexible module.
-Original Message-
From: Juan Nin [mailto:[EMAIL PROTECTED]
Sent: Friday, March 21, 2003 10:02 AM
To: [EMAIL PROTECTED]
Subject: [Perl-unix-users] Date manipulation (substraction)
Hi!
I need to make a script where I must substract one d
I am trying to write a PERL app that will look at the messages logfile and
weed out the firewall messages. Then build a pretty daily report. I first
grep what I am looking for into an array. Then I feed that information into
a hash formatted with the variable that I want(below). Once I have
I am attempting to write a script that will pull port and MAC information
from a cisco switch, and scan a subnet to acquire MAC address and machine
names. Then cross correlate the information to match the machine to its
cisco port. What I was wondering is how can I get the MAC information from
th
$endDate = ParseDate("$eday, $emonth,
$edate, $etime, $eyear");
print "Elapsed time:";
print DateCalc($startDate, $endDate),
"\n\n";
}
}
close
I was wondering if anyone could help? I would like to read information from
a logfile and then calculate the dates to get the backup time for each
group. I understand how I can get the start and stop time for each group
but how would I use that information to get the calculated backup time.