App-ModulePatchUtils
view release on metacpan or search on metacpan
script/list-patch-modules view on Meta::CPAN
use strict;
use warnings;
use Module::List::More;
our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
our $DATE = '2022-08-24'; # DATE
our $DIST = 'App-ModulePatchUtils'; # DIST
our $VERSION = '0.002'; # VERSION
my @not_patch_modules = (
'Monkey::Patch::Action',
);
my $res = Module::List::More::list_modules(
'', {list_modules=>1, recurse=>1});
for my $mod (sort keys %$res) {
next unless $mod =~ /\A.+::Patch::\w+\z/;
# exclude some known false-positives
next if grep { $mod eq $_ } @not_patch_modules;
print "$mod\n";
}
# ABSTRACT: List all installed patch modules (*::Patch::*)
# PODNAME: list-patch-modules
__END__
=pod
( run in 0.905 second using v1.01-cache-2.11-cpan-0a987023a57 )