Hi,
I have the following strings and I need to parse the information into variables like month, date, time, node, process, time_to_insert(1391/1324 from below strings).
Sep 7 00:05:01 a3 asdf: 1 p1 --> Time_To_Insert=1391
Sep 14 00:05:01 a3 asdf: 1 p1 --> add=1324
I used the split function but it does not work when the day is between 1 and 10. I am wondering if there is an efficient way of parsing the whole information using only one statement in perl.
Thanks
I have the following strings and I need to parse the information into variables like month, date, time, node, process, time_to_insert(1391/1324 from below strings).
Sep 7 00:05:01 a3 asdf: 1 p1 --> Time_To_Insert=1391
Sep 14 00:05:01 a3 asdf: 1 p1 --> add=1324
I used the split function but it does not work when the day is between 1 and 10. I am wondering if there is an efficient way of parsing the whole information using only one statement in perl.
Thanks