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


in reply to Re: Regexp and reading a file n-lines at time
in thread Regexp and reading a file n-lines at time

Yes,ahmad's solution works perfectly.

Now,I just have to understand it completely and tag the output.

Could you give me a hint where to look for(in the documentation) to understand the code inside the while block ?

Thank you very much.