Hi Perl guru's
My name is ABHI and i am almost new on perl i need help for below mentioned issue.
Well,
I have one file(xyz.txt) containing following text
LT19-10-13-400922 --TID1-3039@10.100.14.163 1--RequestREGISTER
LT19-10-13-405432 --TID1-3039@10.100.14.163 1--Response100
LT19-10-13-410015 --TID1-3039@10.100.14.163 1--Response401
LT19-10-13-415481 --TID1-3039@10.100.14.163 2--RequestREGISTER
LT19-10-13-419800 --TID1-3039@10.100.14.163 2--Response100
LT19-10-13-426400 --TID2-3039@10.100.14.163 1--RequestREGISTER
LT19-10-13-463320 --TID3-3039@10.100.14.163 1--RequestREGISTER
LT19-10-13-514112 --TID4-3039@10.100.14.163 1--RequestREGISTER
LT19-10-13-519524 --TID1-3039@10.100.14.163 2--Response200
LT19-10-13-524129 --TID2-3039@10.100.14.163 1--Response100
LT19-10-13-528946 --TID2-3039@10.100.14.163 1--Response401
LT19-10-13-534280 --TID2-3039@10.100.14.163 2--RequestREGISTER
LT19-10-13-538468 --TID3-3039@10.100.14.163 1--Response100
LT19-10-13-543036 --TID3-3039@10.100.14.163 1--Response401
......................................
..........................................
LT19-11-23-201675 --TID1107-3039@10.100.14.163 1--RequestREGISTER
LT19-11-23-207613 --TID1061-3039@10.100.14.163 2--Response200
LT19-11-23-212050 --TID1062-3039@10.100.14.163 2--Response100
LT19-11-23-217322 --TID1084-3039@10.100.14.163 2--RequestREGISTER
LT19-11-23-222269 --TID906-3039@10.100.14.163 1--RequestREGISTER
were LT is logtime (hr.,min.,sec,usec) TID is transaction ID and 3rd and last is either REGISTER, 200, 100 or 401.
Now for first 10 sec.logtime . i.e. from LT 19-10-13-400922 to 19-10-23-234561
I want no. of occurrence of REGISTER, 200,100 and 401 and also no. of occurence of unique TID.
guys i need your help infact a temaplate code because i am not a perl guru.
I hope that you guys will help me out to fix this issue.
Thanks in advance.
ABHI