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!
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|