You can also try something more fancy.
One possibility could be:
Windows box -> IO::Socket::INET
Unix box -> IO::Socket::INET
Or
Windows box -> LWP
Unix box -> Net::HTTPServer
The nice thing of the second solution is that you can easily trigger the remote script by hand (using a web browser or wget).