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 .