in reply to Re: parse file per customized separator / block / metadata
in thread parse file per customized separator / block / metadata
Input file could be like
For these 4 blocks of data, I want to extract the ones matching one or multiple regexp.
I could grep them, but I need to reform the data block after, so I'm looking in alternative solutions, module/library or tool.
The separator could change in the same file.
I quickly check File::Stream (1) and it seems a possible option.
about why I search for different solutions, that's a kind of common challenge :). find different views of the problem, differents solutions, more performance, more clean code, more portable and so on ...