http://www.perlmonks.org?node_id=1216536


in reply to minicpan module_filters not working as expected

From what I gain from the POD,
(Since most modules are in distributions with more than one module, this setting will probably be less useful than path_filters.) For example, this setting will skip any distribution containing only modules with the word "Acme" in them:
module_filters => [ qr/Acme/i ]
Mail::DeliveryStatus::BounceParser is contained in Mail-DeliveryStatus-BounceParser, which also contains Mail::DeliveryStatus::Report. When Minicpan loads the latter, it probably takes the whole distribution containing the former...

Replies are listed 'Best First'.
Re^2: minicpan module_filters not working as expected
by ewedaa (Initiate) on Jun 13, 2018 at 16:16 UTC

    But when I do just Mail-Delivery it fails also...

      I'm not sure whether I located the right spot in the source, but
      return 1 if $self->__do_filter($self->{path_filters}, $args->{path +}); return 1 if $self->__do_filter($self->{module_filters}, $args->{modu +le});
      seems to suggest you should try with qr/Mail::Delivery/i (double colon instead of dash).