"perl to generate files as outputs to test scripts ...(which) are sent all over the network depending on the board assembly and serial number."
I'm not quite clear about this: are the "test scripts" (perhaps non-Perl?) generating output that you're capturing with separate and distinct "perl" scripts and dispatching "all over the network" ... or are the test scripts written in perl (themselves) and using the board assembly and SN to determine where to send them?
Perhaps. OTOH, that's not important. In both cases, it sounds as though you could insert into your perl script a function to tee the output -- with one copy directed to notepad [scathing sarcasm about the juxtaposition of "notepad" and "appropriate" omitted :-)] or some other, more trustworthy text editor, and the other to the existing destination-selection function.