-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

>>> 1. do not "use DBI" or "use DBI::DBD" because this will cause an 
>>> immediate failure if DBI is not installed and now be reported as a failure.
>>> ...
>>> $opts{CONFIGURE} = sub {
>>>   use DBI::DBD;

>> Does this work for you? I cannot see how it would.

> Yes it does, why do you think it won't?

Ah, I was not clear. I meant why would you expect this to work for people 
who have /not/ installed DBI and then run 'perl Makefile.PL'? You also 
state above that that you do not 'use DBI::DBD' but then turn around 
and do so, hence my confusion as to its purpose. :) 

...
> Adds the dbd_dbi_arch_dir() to include path. DBI is not used anywhere 
> else in the Makefile.PL for DBD::ODBC. As CONFIGURE only gets run after 
> the PREREQ_PM check all is ok.

Right, but that 'use' is evaluated at compile time, not run time.

> Out of interest, what version of MakeMaker are you using?

6.36

- --
Greg Sabino Mullane [EMAIL PROTECTED]
End Point Corporation
PGP Key: 0x14964AC8 200712061011
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iD8DBQFHWBGnvJuQZxSWSsgRAzWtAKCn37T6YLQCVNWAN8SK9jBtTRJBmgCfSdw7
Qiw7WSXO/qt5IxeXnICAKTQ=
=rgrt
-----END PGP SIGNATURE-----


Reply via email to