>At 11:55 -0700 2002.07.31, Matt Morse wrote: >>I think it would work to put it in an eval: >> >>if($^O =~ /Win32/) >> eval "use Win32::IProcess.pm"; >>} > >Also, if you need the compile-time effects of use, then wrap that in a >BEGIN {}.
I have often done "require" instead in the past. How would the require behavior compare to the non BEGIN usage? -Andrew --