PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

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)