Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Win32::ODBC to Unix

by otijim (Acolyte)
on Nov 13, 2000 at 23:59 UTC ( #41403=perlquestion: print w/replies, xml ) Need Help??

otijim has asked for the wisdom of the Perl Monks concerning the following question:

I'm using the WIN32::ODBC module (in ActivePerl for Windows) to access a database on a network. I use an NT4 Workstation and the code works fine, but ultimately we want to port this to a unix box on the network. So, how can I port this? I need thy great wisdom! Help!

Replies are listed 'Best First'.
Re: Win32::ODBC to Unix
by Fastolfe (Vicar) on Nov 14, 2000 at 00:02 UTC
    See DBI and DBD::ODBC. I don't know how Win32::ODBC works. Does DBI not run (well?) under Win32? I'm just wondering why people always tend to use Win32::ODBC over DBI on Windows.
RE (tilly) 1: Win32::ODBC to Unix
by tilly (Archbishop) on Nov 14, 2000 at 09:32 UTC
    I had some code written for old Windows Perl that used Win32::ODBC (so to answer Fastolfe's question, DBI was not an option because that did not used to be available there). My solution was to write my own Win32::ODBC module that was a wrapper around DBI. It wasn't very hard to just wrap the functions I used that way, and worked quite smoothly.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2021-09-18 10:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?