Selvakumar has asked for the wisdom of the Perl Monks concerning the following question:
I have an input of log report like below.
7/21/2009 5:47:29 PM:> DATA
7/21/2009 5:48:49 PM:> DATA1
7/21/2009 5:49:20 PM:> FIND
7/21/2009 5:50:39 PM:> DATA3
7/21/2009 5:51:29 PM:> DATA4
7/21/2009 5:52:59 PM:> DATA5
7/21/2009 5:53:19 PM:> DATA6
I need to find the date and time of the text "FIND" and i need to check with internal system time. Whether this text FIND occurs within 30 minutes of system time then i need to print yes or no. I need some shortway to do this.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Find the text
by chromatic (Archbishop) on Jul 28, 2009 at 08:03 UTC | |
|
Re: Find the text
by si_lence (Deacon) on Jul 28, 2009 at 08:02 UTC | |
|
Re: Find the text
by Marshall (Canon) on Jul 28, 2009 at 09:16 UTC | |
by Selvakumar (Scribe) on Jul 28, 2009 at 12:35 UTC | |
by mzedeler (Pilgrim) on Jul 30, 2009 at 10:16 UTC | |
|
Re: Find the text
by imrags (Monk) on Jul 28, 2009 at 07:54 UTC |