pijush has asked for the wisdom of the Perl Monks concerning the following question:
This is working fine for Unix platform and includes Expect and in case of windows it does not include Expect. But for windows it also does not include Win32::Setupsup .BEGIN { eval { require Expect; import Expect; require Win32::Setupsup; import Win32::Setupsup; } } use strict; ------- -------
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How can I include a module for Windows only??
by broquaint (Abbot) on Dec 17, 2003 at 14:52 UTC | |
|
Re: How can I include a module for Windows only??
by Benedictus (Beadle) on Dec 17, 2003 at 15:55 UTC | |
|
Re: How can I include a module for Windows only??
by edoc (Chaplain) on Dec 17, 2003 at 15:00 UTC | |
by pijush (Scribe) on Dec 17, 2003 at 16:21 UTC | |
|
Re: How can I include a module for Windows only??
by davido (Cardinal) on Dec 17, 2003 at 18:18 UTC | |
by bart (Canon) on Dec 17, 2003 at 18:45 UTC | |
|
Re: How can I include a module for Windows only??
by ysth (Canon) on Dec 17, 2003 at 20:06 UTC |