I've changed my connect string and put the table in the same directory as my script as follows.

my $dbh = DBI->connect("dbi:XBase:/") or die $DBI::errstr;

Here's the trace output.

    DBI 1.14-nothread dispatch trace level set to 3
    Note: perl is running without the recommended perl -w option
    -> DBI->connect(dbi:XBase:/, , ****)
    -> DBI->install_driver(XBase) for perl=5.006 pid=1444 ruid=0 euid=0
       install_driver: DBD::XBase loaded (version 0.147)
    New DBI::dr (for DBD::XBase::dr, parent=, id=)
    dbih_setup_handle(DBI::dr=HASH(0x2dbd764)=>DBI::dr=HASH(0x4ec35a8), DBD::XBase::dr, 0,
 Null!)
    dbih_make_com(Null!, DBD::XBase::dr, 172)
    <- install_driver= DBI::dr=HASH(0x2dbd764)
    -> default_user in DBD::_::dr for DBD::XBase::dr (DBI::dr=HASH(0x2dbd764)~0x4ec35a8 un
def undef HASH(0x1a751c8))
    <- default_user= ( undef undef ) 2 items at DBI.pm line 405.
    -> connect for DBD::XBase::dr (DBI::dr=HASH(0x2dbd764)~0x4ec35a8 '/' undef **** HASH(0
x1a751c8))
    New DBI::db (for DBD::XBase::db, parent=DBI::dr=HASH(0x4ec35a8), id=)
    dbih_setup_handle(DBI::db=HASH(0x4ec356c)=>DBI::db=HASH(0x4ec3584), DBD::XBase::db, 2d
c0b78, Null!)
    dbih_make_com(DBI::dr=HASH(0x4ec35a8), DBD::XBase::db, 172)
    <- connect= DBI::db=HASH(0x4ec356c) at DBI.pm line 408.
    -> STORE for DBD::XBase::db (DBI::db=HASH(0x4ec3584)~INNER 'PrintError' 1)
    STORE DBI::db=HASH(0x4ec3584) 'PrintError' => 1
    <- STORE= 1 at DBI.pm line 433.
    -> STORE for DBD::XBase::db (DBI::db=HASH(0x4ec3584)~INNER 'AutoCommit' 1)
    <- STORE= 1 at DBI.pm line 433.
    <- connect= DBI::db=HASH(0x4ec356c)
    -> prepare for DBD::XBase::db (DBI::db=HASH(0x4ec356c)~0x4ec3584 'select custnum FROM
cms where order = 1002')
    New DBI::st (for DBD::XBase::st, parent=DBI::db=HASH(0x4ec3584), id=)
    dbih_setup_handle(DBI::st=HASH(0x4ec353c)=>DBI::st=HASH(0x4ede9e8), DBD::XBase::st, 4e
c35d8, Null!)
    dbih_make_com(DBI::db=HASH(0x4ec3584), DBD::XBase::st, 172)
    <- prepare= DBI::st=HASH(0x4ec353c) at smike2.pl line 95.
    -> execute for DBD::XBase::st (DBI::st=HASH(0x4ec353c)~0x4ede9e8)
Can't locate object method "new" via package "XBase" at C:/Perl/lib/DBD/XBase.pm line 337.

    <> DESTROY ignored for outer handle DBI::db=HASH(0x4ec356c) (inner DBI::db=HASH(0x4ec3
584))
    <> DESTROY ignored for outer handle DBI::st=HASH(0x4ec353c) (inner DBI::st=HASH(0x4ede
9e8))
    -> DESTROY for DBD::XBase::st (DBI::st=HASH(0x4ede9e8)~INNER)
    <- DESTROY= undef at unknown location!
    -> DESTROY for DBD::XBase::db (DBI::db=HASH(0x4ec3584)~INNER)
    <- DESTROY= undef at unknown location!
    -- DBI::END
    -> disconnect_all for DBD::XBase::dr (DBI::dr=HASH(0x2dbd764)~0x4ec35a8)
    <- disconnect_all= 1 at DBI.pm line 450.
    -> DESTROY in DBD::_::common for DBD::XBase::dr (DBI::dr=HASH(0x4ec35a8)~INNER)
    <- DESTROY= undef during global destruction.
    <> DESTROY for DBI::dr=HASH(0x2dbd764) ignored (inner handle gone)

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

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.