Well i'm running the perl script locally on a server, what it is doing is ssh-ing into a 2nd server and running a shell script that requires input. While i've had success i locally opening pipes and feeding input into them, i've yet to successfully do this on a remote machine.
system("ssh xxx.xxx.xxx.xxx -l user '..shell script that needs input..'");
thanks!