What I am trying to do is launch a telnet session, do some expect type of stuff (get through the login prompts, runs some commands), but at the end I would like to leave the telnet session up and running and let the user interact with it.
This seems to me to be a perfect candidate for expect.. but it seems like getting expect to run on windows is a PITA. Activestate doesn't support it on 5.6 or 5.8. The only way I saw to use it is under cygwin. My only issue with that is I have been compiling my scripts for others to use (they won't load perl anywhere at my work
) and I don't know how if pp works under cygwin and if my expect functionality will still work because it sounds like it depends on the cygwin.dll.
Now.. I could do all of this with Net::Telnet.. expect leaving it open at the end and letting a user interact with it.. it seems like that would be a big pain. I would prefer just to open a telnet window.. send some characters, and then leave it open at the end.
Sorry for the long winded explanation ..
This seems to me to be a perfect candidate for expect.. but it seems like getting expect to run on windows is a PITA. Activestate doesn't support it on 5.6 or 5.8. The only way I saw to use it is under cygwin. My only issue with that is I have been compiling my scripts for others to use (they won't load perl anywhere at my work

Now.. I could do all of this with Net::Telnet.. expect leaving it open at the end and letting a user interact with it.. it seems like that would be a big pain. I would prefer just to open a telnet window.. send some characters, and then leave it open at the end.
Sorry for the long winded explanation ..