Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: minicpan module_filters not working as expected

by soonix (Canon)
on Jun 13, 2018 at 09:09 UTC ( [id://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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-03-28 22:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found