in reply to nth field extraction

Some thoughts on the OP:

All these pieces of info would have been useful as the foundation of a helpful answer. Furthermore, a Test::More testing framework based on the current implementation would have been an enticement to a quick answer as well as a convenient way to present some of the items of information mentioned above; please see How to ask better questions using Test::More and sample data. See also the Short, Self Contained, Correct (Compilable), Example.

In short, please help us to help you.


Give a man a fish:  <%-{-{-{-<