[Koha-devel] New class: Koha::Result::Boolean

Jason Poulin corellianimports at aol.com
Fri Jan 7 17:19:40 CET 2022


Can someone take me off this list please

> On Jan 7, 2022, at 10:52 AM, Tomas Cohen Arazi <tomascohen at gmail.com> wrote:
> 
> 
> Hi all, happy 2022 :-D
> 
> I wanted to mention that a bug that introduces Koha::Result::Boolean has been pushed [1]. This class provides a way to return an object, that evaluates to  a boolean in (Perl's) bool context but also carries reasons for the result.
> 
> It has been used in a couple places, like bug 29765 [2] and bug 29788 [3] (which still needs the QA step).
> 
> [1] https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29746
> [2] https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29765
> [3] https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29788
> 
> -- 
> Tomás Cohen Arazi
> Theke Solutions (http://theke.io)
> ✆ +54 9351 3513384
> GPG: B2F3C15F
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha-community.org
> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : https://www.koha-community.org/
> git : https://git.koha-community.org/
> bugs : https://bugs.koha-community.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20220107/973bbdb3/attachment.htm>


More information about the Koha-devel mailing list