Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: "Worenklein, David, GCM" <worenkd at gcm dot com>
Subject: RE: DBlib errhandler does funny things if undef returned
Date: Feb 26 2004 4:50PM

Reminds me of a trading system I used to work on.  If you entered an
invalid date into the screen, it would pop up a box that said
"Segmentation Violation."  Our quality control people thought that was
not an intuitive message, and suggested "Invalid date" instead.

-----Original Message-----
From: []
On Behalf Of Avis, Ed
Sent: Thursday, February 26, 2004 11:38 AM
To: Sybperl-L Mailing List
Subject: DBlib errhandler does funny things if undef returned

If you set up an error handler with Sybase::DBlib::seterrhandle(),
and your error handler returns undef, then you get a strange message
'Use of uninitialized value in subroutine entry'.  It would be better
to print a more obvious warning about an undef return value from the

This e-mail is intended only for the addressee named above.
As this e-mail may contain confidential or privileged information,
if you are not the named addressee, you are not authorised to
retain, read, copy or disseminate this message or any part of it.