perl : searching for month and storing the date and time in an array

view story

http://www.unix.com – I am writing the code in perl. I have an array in perl and each variable in the array contains the data in the below format Now I need to check the below variable w.r.t system month I need to store the date and time(Tue Aug 7 03:54:12 2012) from the below data into file if contains only 'Aug' . Code: Created By = sripathi Server Name = dysp001 time = Tue Aug  7 03:54:12 2012 Node = mumgwmpls2335.net.hca.com Could anyone please let me know how to store the time(Tue Aug 7 03:54:12 2012). Thanks in advance.... Regards, GS ---------- Post updated 09-03-12 at 12:00 AM ---------- (HowTos)