This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regen/mph.pl & mk_invlists.pl - convert from sub interfaces to OO interfaces
authorYves Orton <demerphq@gmail.com>
Sun, 17 Apr 2022 12:46:44 +0000 (14:46 +0200)
committerKarl Williamson <khw@cpan.org>
Tue, 19 Apr 2022 11:41:19 +0000 (05:41 -0600)
commit44a605b000708fc84ba34c075bc6ba3bb6a3d36d
treee1d11f64626eaf17d85217cdd52eb3035a52a6d1
parent19ad8281cb889184f365a02bd4c1193d351cc418
regen/mph.pl & mk_invlists.pl - convert from sub interfaces to OO interfaces

The old sub based API was passing around an awkward number of arguments
and it was becoming difficult to enhance in certain ways. This patch
changes all the "user servicable" functions into methods, and moves the
configuration defaults into the constructor.

Note, not all the functions have been converted, the core routines with
simple interfaces have not been changed. This is OO for the purpose of
encapsulation not inheritance or overloading.
charclass_invlists.h
lib/unicore/uni_keywords.pl
regen/mk_invlists.pl
regen/mph.pl
uni_keywords.h