experiment with ways of efficient parallel processing of a text stream in perl