> Ordinarily I'd use Expect.pm, but that doesn't seem to have > made it to the ActiveState repository yet, and I've > completely given up on using CPAN here. > > Are there any suggestions for an ASPerl-friendly alternative? > > If anybody has an alternate approach to this problem, I'm all ears.
Providing "expect" functionality on Windows is difficult because it is usually implemented via a pseudo-tty, and Windows has no concept of this. So I have no direct answer, but I will try to give you a few possibilities: (1) According to the Expect perldocs, the only way to get Expect.pm to work on Windows is to install cygwin and use it from that environment. You'll also have to install IO::Pty. (2) There are native win32 ports of Expect, and you could perhaps generate expect scripts and then and run expect on the command line via system()/backticks/etc. http://expect.nist.gov/#windows (3) If you can set up a Telnet server on the machine, then you can use the Expect-like functionality of Net::Telnet (connect to 'localhost') HTH - Mark. -- Mark Thomas Internet Systems Architect _______________________________________ BAE SYSTEMS Information Technology 2525 Network Place Herndon, VA 20171 USA _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs