in reply to Creating multiple files from txt data

Simply move open(SRVINFO, ...) into the while (<PCINFO>) loop.