in reply to Can we open putty using perl code

See system, and also perl script to open vi editor and Open Vieditor using perl/perl cgi script.