http://www.perlmonks.org?node_id=1082217

taj_ritesh has asked for the wisdom of the Perl Monks concerning the following question:

Let me define the problem first, I have a file of some 1 million lines, this is the output data from a tool, which reports the timing data from some predefined start & end point. Now I need to do following fine task :- 1):- Need to get the wort path report, basically there is a word "slack" in this file & we need to search for that. each slack belongs to a particular start & end point. we need to get all the lines from "startpoint" to "slack" for this worst slack number. 2):- Now as we got the worst path, once section of this is data path & other is clock path, we need to get the all the lines from startpoint to "data arrival time". 3):- now we need to make a table from first column & fifth column in this table .sort this table & find the worst delay gate in this path.