perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject Re: t/SMOKE on win32
Date Thu, 02 Oct 2003 08:29:35 GMT
Randy Kobes wrote:

One more issue with IPC/Run3. Since it's not in the core, we have to 
optionally require it and die in run_test if it's not available. However 
leaving it as 'require IPC::Run3' results in:

Can't locate IPC/ in @INC (@INC contains: lib Apache-Test/lib 
/home/stas/perl/5.8.0-ithread/lib/site_perl .) at 
Apache-Test/lib/Apache/ line 18.

during the build time, which is bad.

something like:

use constant HAS_IPC_RUN3 => eval { require IPC::Run3 };

sub run_test {

   die "IPC::Run3 is required to run this program" unless HAS_IPC_RUN3;


Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker     mod_perl Guide --->

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message