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: "Avis, Ed" <avised at kbcfp dot com>
Subject: DBlib errhandler does funny things if undef returned
Date: Feb 26 2004 4:38PM

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
handler.

I expect it will be easy to reproduce this but tell me if not, and
I'll whittle a test case.

-- 
Ed Avis