in reply to ODBC related perl module

Win32::ODBC? ODBC.xs has an ODBC_Connect function.

Update: fixed typo, thanks Tux.

Replies are listed 'Best First'.
Re^2: ODBC related perl module
by millan123 (Initiate) on Aug 13, 2014 at 11:33 UTC
    I dont understand why it is written ::ODBC_Connect , it should be modulename::ODBC_Connect. In that script nowhere ODBC_Connect method is defined.so obviously it from a module then why only ::ODBC_Connect is used instead of modulename::ODBC_Connect .
      ::ODBC_Connect($DSN) will call the subroutine ODBC_Connect in the empty (main) namespace.

      If no such subroutine exists there, maybe one of the other modules exports such a subroutine?