
fancy_pants
New User
Dec 11, 2007, 3:13 PM
Post #1 of 3
(5045 views)
|
|
Help with Win32::ODBC
|
Can't Post
|
|
Greetings all, This is my very first perl script and I'm having a little trouble with using the Win32::ODBC module. I think the module is installed correctly. I ran the test.pl script that came in the download and the odbc connection I want to use is listed there. I've played around w/ my code quite a bit and it always results in diffrent errors (although they seem to be the same rootcause). Here are some sample script and errors: use Win32::ODBC; $db = new Win32::ODBC("casql100"); $db->Sql("SELECT * FROM Blah); $db->Close(); Can't call method "Close" on an undefined value Can't call method "Sql" without a package or object reference Any help or guidence is appreciated. Thanks.
|