Um... What's this?

my $dbh = DBI->connect("dbi:XBase: m:\\") ...

Could it be that you're using the delimiter for the connect string within your directory specification? That's a small hazardous guess, since I haven't used DBD::XBase, but since ':' is the standard delimiter, you may have to find a different manner of specfifying directory.

Also, after using DBI with Oracle and MS SQL Server, and just recently MySQL, I have to say that DBD:XBase has one of the strangest connect strings I've seen. Try this to get a better understanding of what the connect string is seeing:

DBI->trace(3); $dbh = DBI->connect("dbi:XBase:m:\\");

UPDATE: Is it safe to presume that you don't need a user and password for your dbf file? Looking at the trace output immediately below this post, it appears that you get a database handle, but the statement handle is what's creating the error. That's as far down the road as I can take you, young monk, but it may be enough to put it all together.

ALL HAIL BRAK!!!


In reply to Re: Re: Re: Seemingly Internal DBD-XBase Error by PsychoSpunk
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.