Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: minicpan module_filters not working as expected

by soonix (Canon)
on Jun 13, 2018 at 09:09 UTC ( #1216536=note: print w/replies, xml ) Need Help??

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).

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1216536]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (2)
As of 2022-08-19 19:32 GMT
Find Nodes?
    Voting Booth?

    No recent polls found