Re: exceptions (was Re: blahblahblah)
- From: "Ross McFarland" <rwmcfa1 neces com>
- To: "gtk-perl list" <gtk-perl-list gnome org>
- Subject: Re: exceptions (was Re: blahblahblah)
- Date: Sat, 30 Aug 2003 10:30:59 -0400 (EDT)
Jörn Reder said:
muppet wrote:
- if you do not register any exception handlers with Glib, unhandled
exceptions will be reported noisily through warn() and then
forgotten.
Ok, then just one simple question ;) How do I register exception
handlers with Glib?
Glib->install_exception_handler (sub {
my $msg = shift;
# msg = what used to be in $@
});
doc (and examples) should be coming soon.
--
Think, before you code.
and while you're doing it probably won't hurt. ;-)
-rm
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]