Windows Perl Scripting Forums » Scripts

Help using Win32::ODBC

(1 post)
  • Started 9 years ago by fancypants

No tags yet.


  1. fancypants
    Member

    Greetings all,

    This is my very first perl script and I'm running into some issues trying to use the Win32::ODBC module. I downloaded the module form this site and installed per the readme. I ran the test.pl file and it outputed all kinds of crazy stuff so I assume that means it's working.

    I've got various errors playing around w/ the code but I think its pretty much all the same root cause. Here is the current error:

    Can't call method "Close" on an undefined value at <path-to-file>

    and here is the script:

     

    use Win32::ODBC;
    $db = new Win32::ODBC("casql100");
    $db->Close();

    Posted 9 years ago #

RSS feed for this topic

Reply

You must log in to post.