Perl and Microsoft Access

Posted on 1999-01-04
Last Modified: 2010-03-05
Is it possible to read and write to a Microsoft Access database?  If so how can I find out how to do it?
Question by:donb1
  • 4
  • 3

Author Comment

ID: 1207302
I would like to do it using perl 5.

Expert Comment

ID: 1207303
Are you on a win32 machine?

Author Comment

ID: 1207304
I use phone link to an NT box

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Expert Comment

ID: 1207305
Is the machine on which you execute the code a win32 machine?  If it is, you can use the  Win32::ODBC module.  If not, you're either out of luck, or you can set up a perlserver on a Win32 machine which will do it for you.

Author Comment

ID: 1207306

My server admin came back to me with the following answer:

The answer is, yes we are WindowsNT which is 32 bit.   They are
referring to a library module that contains code for accessing Access dB's using ODBC.  Anyway, we need to find this Perl library routine and load it on the server so that you can call it's routines.  If you find something, Email it to me and I'll load it on the server and send you the path.

Does this help?


Accepted Solution

b2pi earned 50 total points
ID: 1207307
1.) Determine if they're using a native build, or ActivePerl
2.) If it's activeperl make _really_ sure that it's a newer build (preferably 508)
3.) Get and install Win32::ODBC from
4.) Learn how to use it at

(Sorry but the author apparently isn't using either CPAN or pod documentation)

Author Comment

ID: 1207308
Thanks - Looks to me like it is a lot easier to just use files in perl.

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
perl script help 12 105
perl split by | 2 108
Perl regex to replace any capital letters not preceded by ">" 6 159
Able to retrieve only 1 row through email amongst multiple rows 3 75
I've just discovered very important differences between Windows an Unix formats in Perl,at least 5.xx.. MOST IMPORTANT: Use Unix file format while saving Your script. otherwise it will have ^M s or smth likely weird in the EOL, Then DO NOT use m…
Email validation in proper way is  very important validation required in any web pages. This code is self explainable except that Regular Expression which I used for pattern matching. I originally published as a thread on my website : http://www…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question