If the goal is to answer in the affirmative for any prompt, try this instead.
$telnet->cmd("echo y | /opt/bea/tuxedo8.1/bin/tmloadcf GPPconfig.ubb
+");
In Unix, those responses are expected in STDIN, so you can pre-answer those questions by usually just piping a response into a pipe. I don't have
tuxedo so I didn't try this, but I'm fairly certain it'll work for you.
Hope this helps.
--
I used to drive a Heisenbergmobile, but everyone I looked at the speedometer, I got lost.