|XP is just a number|
Alternative to Expect for Activestate Perl on Windows ?by fx (Pilgrim)
|on Jan 15, 2008 at 19:17 UTC||Need Help??|
fx has asked for the
wisdom of the Perl Monks concerning the following question:
Thought this would be an easy one but perhaps I'm not sticking the right words into Google to find the answer.
I have an Activestate Perl installation under Windows Server 2003. I need to interactively control a command line question-answer type application with Perl. In (nice and comfortable) Unix world I'd just use the Expect module. Nice and easy. However, this does not work under AS Perl on Windows.
The CPAN page (here) says one alternative is to use Cygwin. I don't really have the option of installing this (I had to fight to even be allowed to install Perl....).
Any other suggestions?
In case it matters at all, the command line program I am trying to control is the "jbconfig" tape library configuration program that comes with EMC/Legato Networker.