in reply to Perl and Putty

If you read the putty docs you will see there is a command line companion tool to putty called plink.exe. Plink is intended to be used on the command line.

Celebrate Intellectual Diversity