Bug 34471 - Do we need any from List::Util or List::MoreUtils?
Summary: Do we need any from List::Util or List::MoreUtils?
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-03 13:58 UTC by Marcel de Rooy
Modified: 2023-08-03 13:58 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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