in reply to How can I include a module for Windows only??
..just a shot in the dark here, but what if you split up the eval into 2?
BEGIN { eval{ require Expect; import Expect; }; eval{ require Win32::Setupsup; import Win32::Setupsup; } }
I think when windows fails to require Expect, it's bailing from the eval and not getting to the require Win32 stuff..
update: hmmm.. ++broquaint
cheers,
J
In Section
Seekers of Perl Wisdom