title: Perl script to log in to server and execute command
body: <p>I am new to perl. I want to run a perl script on terminal that takes in the ip address of another server , logs into it (with username and password), executes a bash command and returns the result. Any guidance will be appreciated. For eg. Similar codes, questions, perl functions that may help et cetera. </p>