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

ewedaa has asked for the wisdom of the Perl Monks concerning the following question:

I need to filter three modules when using minicpan, but the module_filters isn't working as expected.

These are the three modules (They refused to download through my firewall because they trigger the virus filter.)

# authors/id/C/CO/CONVERTER/Mail-ClamAV-0.24.tar.gz # authors/id/J/JW/JWIED/Mail-IspMailGate-1.1011.tar.gz # authors/id/R/RJ/RJBS/Mail-DeliveryStatus-BounceParser-1.542.tar.gz

The first module I list in module_filters works (as long as it doesn't have a dash in the name) but the next two never work.

#Path Filters mainly rule out modules, NOT contributors module_filters => [ qr/ClamAV/i, # sub { $_[0] =~ /Mail-DeliveryStatus-BounceParser/i }, #This does not + work sub { $_[0] =~ /BounceParser/i }, #This does not work either ],

What silly thin am I missing? I looked at the actual Mini.pm file and both path_filters and modules_filters seem to be using the same chunk of search code.

I'm annoyed!