Hello, I came across a though which I am putting it below. Opinions, Suggestions are solicited from this group on the the idea/thought. Though this thought has been implemented, I want get a feeler from the Group on the usefulness of the idea/though to the Perl community.
Please put down your opinions and suggestions: Here it goes : Please let me know if more clarification is required. *Feeler for a New Module : Remote.pm* *Problem :* In the world of automated testing on multiple platforms, there is a constant need that all the testing control takes place from one central server. Let me take an illustration : I have a product say X and it is supported on all the flavors of UNIX viz. AIX, HPUX, LINUX, SuSE, Solaris etc…. I have a code that does a basic sanity tests for this product build every day on a daily build during the testing cycle. I need to go on to all the different machine flavors mentioned above, install the product, and then trigger the run. A better example, I have about 1000 machines in my lab and I need all the machine specific information, like the CPU frequency, Memory, Hard Disk etc as a part of my lab management system on a periodic basis. I have a smart Perl code to do this, but then I need to go on all the machines, have Perl installed and run these scripts. *Solution:* Have one central machine which will connect to all these remote machines and give the information required. *How :* Write a Driver Code to call the API’s from the REMOTE.pm and then setup a connection to the remote machine. The REMOTE.pm’s API will connect to the REMOTE machine specified by the caller code over an SSH or Telnet connection and return back the connection handle of the remote machine. Once the connection handle of the REMOTE machine is there with the driver code( caller ) , it can perform n number of operations on the REMOTE machine. The scenarios mentioned above have been successfully centralized using the idea discussed above. After the operations are done on the Remote machine, the connection handle can be closed gracefully. * * *Dependency:* 1. Expect.pm T *SuKind Regards* *SSuman Sourabh*