Re: Glib::Flags overload !=

Kevin Ryde wrote:

    '=='   => \&eq,        'eq'   => \&eq, # eq for is_deeply in Test::More
+   '!='   => \&ne,

Also 'ne' => \&ne perhaps?  The same as for the eq.

I'm not sure.  I don't think programmers should use 'ne' to compare
Glib::Flags.  Just as they shouldn't use 'eq' -- the 'eq' was only added
to make Test::More's is_deeply work correctly when Glib::Flags are involved.


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