Re: gtk perl and

Hi Raul, 

This is what I use:

    use Carp;

    $SIG{'__WARN__'} = sub 
        $SIG{'__WARN__'} = 'IGNORE';

A lot of the time errors will occur within "main Gtk;" so it is not
suprising that you see backtraces to that.


Raul Dias <chaos swi com br> writes:

Is there a way to use the module Carp with gtk perl correctly?

when you use the croak() function to report the error (and get where did the call came from)
it always reports the line with "main Gtk;"  instead of the line that actually called
the function that croak() is on.

Or should I give up un Carp with GtkPerl ?


Raul Dias
gtk-perl-list mailing list
gtk-perl-list gnome org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]