Re: Glib::Flags overloaded mutators



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]