June 2002
Beginner
759 pages
80h 42m
English
Error
Win32::ODBC->Error( )
Returns the last encountered error. The returned value is context-dependent.
If called in a scalar context, then a three-element array is returned:
(error_number,error_text,connection_number)
If called in a string context, then a string is returned:
"[error_number] [connection_number] [error_text]"
If debugging is on, then two more variables are returned:
( ...,function,level)
function is the name of the
function in which the error occurred, and
levelrepresents extra information about
the error (usually the location of the error).