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
|