July 1999
Intermediate to advanced
502 pages
19h 52m
English
Msql::errmsg
$error = $db->errmsg;
Msql::errmsg returns the last
error encountered by your session with the mSQL server. The value
remains until the next error occurs, at which time it is replaced. If
no error has occurred during your session, the function returns
undef.
use Msql;
my $db = Msql->connect;
...
my $error = $db->errmsg;
warn("This is your most recent mSQL error: $error");Read now
Unlock full access