in reply to sshpass perl

can u convert above mentioned shell script in to perl script??
Sure thing!
#!perl system(<DATA>); __END__ ## Your shell script goes here
You're welcome :D