0% found this document useful (0 votes)
8 views

Object Methods

This document provides an overview of object methods for interacting with ODBC databases in Perl, noting that the Win32::ODBC module must be used, a database object $db needs to be created, and that examples do not include error checking which should be included in production code. It also warns that the example code has not been tested yet.

Uploaded by

Amutha Arun
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

Object Methods

This document provides an overview of object methods for interacting with ODBC databases in Perl, noting that the Win32::ODBC module must be used, a database object $db needs to be created, and that examples do not include error checking which should be included in production code. It also warns that the example code has not been tested yet.

Uploaded by

Amutha Arun
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Object Methods

General Note
All methods assume that you have the line:
use Win32::ODBC;
somewhere before the method calls, and that you have an ODBC object called $db which was created using some
call similar to:
$db = new Win32::ODBC("MyDSN");
See new for more information.
Also, in an effort to keep the examples short, no error checking is done on return values for any calls other than the
one being exemplified. You should always check for error conditions in production code.

WARNING: The example code has not yet been tested. This will be fixed ASAP, but be forwarned!

You might also like