Perl Expect on Windows CON: Expect perl module can't be used on a Windows platform.
Looks like your best bet is to use activestate TCL if it's on windows. On Sat, 12 Feb 2005 17:27:54 -0800, perl perl <[EMAIL PROTECTED]> wrote: > Hi, I'd like to narrow the previous Expect(tcl) question so that an > answer can be extracted: > Perl vs Expect(tcl) question again. > > Here is a specific Expect example: > I have a release engineering build script that performs the following: > > Launch masterbuild.tcl (expect script) from WinNT server. > This script will perform the below task: > > 1). Enter Solaris server, perform authentication, set the Solaris > build environment, then run GNU make to compile all C++ code, exit > Solaris. > 2). Enter HPUX server, perform authentication, set the HPUX build > environment, then run GNU make to compile all c++ code, exit HPUX. > 3.) Enter winXP server, perform authentication, set the XP build > variables, then run NMAKE to compile c++ code, exit XP. > > Question1: > Expect is very efficient in performing the above task. Can Perl do the > same task above? > Surely Perl can. But what are the pros and cons? PROS and CONS would > be very nice to know. Performance advantages? Assuming you're an > skilled with both, which one is faster to set up from scratch? > > Question2: :-) > How do you implement the Expect script above into Perll? Are there > several modules to choose from? > > thanks, > W > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > <http://learn.perl.org/> <http://learn.perl.org/first-response> > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>