Bug 34471

Summary: Do we need any from List::Util or List::MoreUtils?
Product: Koha Reporter: Marcel de Rooy <m.de.rooy>
Component: Architecture, internals, and plumbingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Marcel de Rooy 2023-08-03 13:58:27 UTC
We use both in the codebase. The latter is widely used.

git grep -P "List::Util.*any"
Koha/Exporter/Record.pm:use List::Util qw( all any );
Koha/SearchEngine/Elasticsearch/Indexer.pm:use List::Util qw( any );
Koha/Template/Plugin/Categories.pm:use List::Util qw( any );
opac/opac-password-recovery.pl:use List::Util qw( any );
reports/cash_register_stats.pl:use List::Util qw( any );
t/db_dependent/Koha/SearchEngine/Elasticsearch.t:use List::Util qw( any );

git grep -l -P "List::MoreUtils.*any" | wc -l
59