From: gnome-perl (bugzilla.gnome.org) <bug...@bu...> - 2009-03-05 23:41:55
|
If you have any questions why you received this email, please see the text at the end of this email. Replies to this email are NOT read, please see the text at the end of this email. You can add comments to this bug at: http://bugzilla.gnome.org/show_bug.cgi?id=574326 gnome-perl | Glib | Ver: unspecified Summary: flags bool() as method too Product: gnome-perl Version: unspecified Platform: Other OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: Glib AssignedTo: gtk...@li... ReportedBy: us...@zi... QAContact: gtk...@li... GNOME version: Unspecified GNOME milestone: Unspecified I got to the change below for having $flags->bool available as a method as well as an overload. It changes the parameters names to "f" for flags instead of "a" from a,b,swap, and in the to_arrayref bit as well, for the benefit of the generated docs and usage message. I think the binary ops may be best left alone for now. If they were methods you'd probably like them to take any number of args, instead of just 1. But doing that could make the swap arg ambiguous, so leave those bits alone for now. -- See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received this email, why you can't respond via email, how to stop receiving emails (or reduce the number you receive), and how to contact someone if you are having problems with the system. You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=574326. |