sybperl-l Archive
Up Prev Next
From: Poon Sin Yi <bi_mich at ustsu4 dot ust dot hk>
Subject: The message and error handler
Date: Feb 6 1996 5:00AM
Hi,
Have some question in calling the dbmsghandle and dberrhandle.
The following subroutine :
if (defined(dbmsghandler))
{
&dbmsghandle("message_handler");
}B
sub message_handler
{
local (......) (ignored them!)
;
;
;
}
If you use &dbmsghandle("message_handler"), it does not work as the
a sub rountine must be called with "&" at the beginning.
Then how should I use the dbmsghandle?
Also, the handler does not get the message from Sybase
as I print $message, nothing happen.
Thanks!
Michelle (HK)
|