Re: Glib::Flags overloaded mutators
- From: Torsten Schoenfeld <kaffeetisch gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: Glib::Flags overloaded mutators
- Date: Sun, 13 Jul 2008 17:12:42 +0200
Kevin Ryde wrote:
Torsten Schoenfeld <kaffeetisch gmx de> writes:
Is there something else I missed?
I got a warning from the program below
Use of uninitialized value in null operation at foo.pl line 13.
Maybe it only needs to watch for undef in the swap arg.
Ah, I see. Yes, it needs to handle undef for swap. This happens when
overload.pm uses a normal 'x' operator to automatically create a fallback
implementation for 'x=' operators. Committed your original patch without the
Glib.pm changes. Thanks!
--
Bye,
-Torsten
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]