Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

gabor (1626)

gabor
  (email not shown publicly)
http://szabgab.com/

Perl developer and trainer [szabgab.com]
Test automation using Perl [szabgab.com]

Journal of gabor (1626)

Tuesday June 27, 2006
09:27 PM

My wish: Expect on Windows

[ #30069 ]
If I could ask for an improvement I would really like to see Expect.pm (and thus Expect::Simple) working on Win32.

I am not sure what is the problem, but if it can compile on Cygwin then I guess one could extract the required part from Cygwin and include that in the Expect.pm distribution.

As I can see there was some solution as there seem to be a binary version of Expect for ActivePerl 5.6

So can anyone make that work?

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • I wrote at least one working Expect.pm program on Cygwin, several months ago. I don't recall having to do anything to get it to work. I was pleasantly surprised that it did work.

    --
    J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers
    • Yes, I meant that I would like to use Expect.pm on native Win32 without the full Cygwin stack.
      --
      • Ah, I get it now. I'm betting that it relies on just way too much of the handling in the Cygwin DLL. What finally got Expect.pm working on Cygwin was, I believe, not changes to Expect.pm (and the modules it relies on), but improvements to the Cygwin DLL itself. I suppose someone could extract the relevant portions of the Cygwin DLL, but I imagine you might wind up with most of the DLL.

        But that's an uneducated opinion. It might in fact be very trivial.

        --
        J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers