How do I unsubscribe from this list?? I tried a few times without success!
-----Original Message----- From: Raheel Hassan [mailto:raheel.has...@gmail.com] Sent: Saturday, December 17, 2011 5:58 PM To: beginners@perl.org Subject: Problems in dates and time additions by one minute. Hi, I have 3 files (these are the log files of the system). These files have date formate like this (Dec 5 09:02:01). I need to read these files from from the first date(Dec 5 09:02:01) till the last date (Dec 17 17:34:02) in the file. Then i have to search a word between the time difference of one minute and i have to count that how many times that word is present between these two time period. For example : Start time End Time Number of times word found. First time in file Dec 5 09:02:01 Dec 5 09:03:00 10 Second entry Dec 5 09:03:01 Dec 5 09:03:00 5 Third entry Dec 5 09:04:01 Dec 5 09:04:00 3 and so on till the last entry of the date (Dec 17 17:34:02) How i can handle these dates. I have read about the Time::Local but that did not solve my problem. I will be very thankful for any help. Raheel -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/