in reply to How to search keywords In sequence or according to timing from a text files In Perl ?

You could build up another hash with the matches found, and sort by the timestamp before printing to your output file. See sort for documentation on how to create a custom sort subroutine.

Hope this helps!


The way forward always starts with a minimal test.
  • Comment on Re: How to search keywords In sequence or according to timing from a text files In Perl ?