in reply to How can I include a module for Windows only??

You can use the if module to "use" another module if a condition is true. In your case, you might have:

use if ($^O =~ /Win/i), "Win32::Setupsup"; use if ($^O !~ /Win/i), "Expect";

Warning: the above code is untested.

The "if" module should come with Perl, but you can get it from CPAN if need be.

Benedictus