in reply to pipe operator for windows
A bit of a tangent, but Net::Frame would make this much easier for you.