Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Which xBase module?

by parser (Acolyte)
on Mar 27, 2012 at 04:22 UTC ( [id://961828]=note: print w/replies, xml ) Need Help??


in reply to Re: Which xBase module?
in thread Which xBase module?

I installed DBD::XBase and gave it a try. It works much better than the previous two modules. Especially for correct interpretation of field types.

I am still scratching my head around how to get a list of field types but I'll read the module source and see what is being passed back.

Cheers

Replies are listed 'Best First'.
Re^3: Which xBase module?
by Jenda (Abbot) on Mar 27, 2012 at 06:32 UTC

    See the docs of DBI instead, the table_info() and column_info() methods. I think that's what you are looking for.

    Jenda
    Enoch was right!
    Enjoy the last years of Rome.

      I'd second Jenda's response. DBI is has some magic that will get you what you need, most of the time. My only comment would be that calling $table->header_info() method will give you some details of the table structure of the database file.
      Well, that's my $.02 worth. No, for refunds you'll have to check our customer service department.

      Thanks Jenda.

      I have been using the base module and not the DBI version but I am already using the DBI module for MySQL in the same code base so that may make more sense.

      Cheers

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://961828]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2025-01-18 08:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which URL do you most often use to access this site?












    Results (56 votes). Check out past polls.