Help ... I'm brand new to perl so I apologize if this is a very elementary problem (and please add as many comments to your reply as you can).
I need to extract blocks of text from a large file.
The text block starts with a key word ("head") and after one or more lines, a line will end with "tail"
I need every line between the 2 key words including the lines the key words are on.
I've attempted to apply serveral of the examples but no success.
Thanks in advance for your assistance.