in reply to
Communication between Windows and Linux via Perl
You can try DWIM Perl. It comes with the Net::SSH2 Module pre installed. I have used it to login to a lot of Linux Boxes and Linux Based Storage Arrays and it works like a charm. Do a google search for DWIM Perl.
For Net::SSH2, please read A little demo for Net::SSH2. Its really good. One thing that will help you is, insert a sleep interval - sleep 10 in your script right after you do a chan2->exec('somecommand');.
Perlpetually Indebted To PerlMonks
print "Awesome Books";
is a boon for Windows.