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

I guess the main thing to understand is using the buffer to break the 'recipes' up so they can be processed individually - Super Search should find you other examples of this idiom in use. The buffer will contain the lines individually, but they can so joined up or whatever you like!

There are also many Parse modules on cpan, but i think probably your situation is specific and simple enough to not get confused with those! Anyway, good luck!

Just a something something...
  • Comment on Re^3: Regexp and reading a file n-lines at time