Thanks a lot for reply.
I feel perl API's would be using better searching methods then just searching the file from top to end.
If they are not using, I agree my query doesn't make sense.
Comment on Re^2: Search a string through IO::File API, and then print the lines after match in the file.