in reply to Re: Merging two pipesin thread Merging two pipes
I must admit I didn't make my problem quite clear but your comments put me on the right trail. IO::Select did the trick for me and now my script works like I want it to.