in reply to ssh to set of linux servers

Not very useful as there's no way to supply a password (which you shouldn't do anyways). If you need to, install sshpass. A far better idea is to use SSH keys.

No Perl modules required. -l is the login (user) name

perl -e 'system("ssh -o ConnectTimeout=10 -l smd 192.168.1.139")' smd@192.168.1.139's password: Welcome to Linux Mint 17.1 Rebecca (GNU/Linux 3.13.0-37-generic x86_64 +)