in reply to Tailing a file to a TCP socket
nc -l -p 2000On the Windows box, run
tail -f c:\logfile.txt | nc unixbox 2000Replace 2000 with the port number that you want to use, and unixbox with the actual address of the Unix box.
I know, this doesn't use Perl, but it does everything that your example script did, and with only two lines of "code." Plus, you get to use netcat, which has tons of other uses, and no sysadmin should be without it.