in reply to Re: Seemingly Internal DBD-XBase Error
in thread Seemingly Internal DBD-XBase Error

Do you have an explicit 'use DBD::Xbase;' in your code? If so, try removing it. DBI loads the appropriate modules for you when you call the connect method.
  • Comment on Re: Re: Seemingly Internal DBD-XBase Error

Replies are listed 'Best First'.
Re: Re: Re: Seemingly Internal DBD-XBase Error
by mvaline (Friar) on Dec 22, 2000 at 02:50 UTC
    I don't explicitly use DBD::XBase. However, the XBase.pm that we've been talking about is DBD::XBase. The top of XBase.pm is as follows.

    use strict;
    use DBI ();		# we want DBI
    use XBase;		# and we want the basic XBase handling modules
    use XBase::SQL;		# including the SQL parsing routines
    use Exporter;

    Could it be possible that it is confusing itself with the XBase it mentions? How do I check if I have that XBase even installed? If I use PPM and query XBase it checks on DBD-XBase.

      In order to reduce confusion, you might refer to the DBD::XBase file as DBD/XBase.pm, rather than XBase.pm. :)

      You can check if you have the XBase module (as opposed to the DBD::XBase module) like this: perl -MXBase -ce 1 It looks like the XBase bundle includes DBD::XBase, XBase, XBase::SQL, and a few other modules...

        Thanks. According to the test you proscribed above (I should have been able to figure that one out, sorry) I do have XBase.pm (as oppossed to DBD/XBase.pm).