in reply to Duplicate Test:: output

Replies noting the "proper" way to do something like this welcome.

If this were my project, I'd use TAP::Harness to collect the information and worry about filehandles... but it's not clear if you need pre- or post-processed TAP.