An open API service indexing awesome lists of open source software.

https://github.com/rsrchboy/dist-zilla-plugin-removeprereqsmatching


https://github.com/rsrchboy/dist-zilla-plugin-removeprereqsmatching

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

=pod

=encoding utf-8

=for :stopwords Chris Weyl

=head1 NAME

Dist::Zilla::Plugin::RemovePrereqsMatching - A more flexible prereq remover

=head1 VERSION

This document describes version 0.002 of Dist::Zilla::Plugin::RemovePrereqsMatching - released June 18, 2012 as part of Dist-Zilla-Plugin-RemovePrereqsMatching.

=head1 SYNOPSIS

; in your dist.ini
[RemovePrereqsMatching]
remove_matching = ^Template::Whatever::.*$
remove_matching = ^Dist::Zilla.*$

=head1 DESCRIPTION

This plugin builds on L to allow
prerequisites to be removed by regular expression, rather than string
equality. This can be useful when you have a C package consisting of a
bunch of modules under a common namespace, whose installation can be handled
by one common prerequisite specification.

=head1 METHODS

=head2 register_prereqs

We implement this method to scan the list of prerequisites assembled to date,
and remove any tat match any of the expressions given to us.

=for Pod::Coverage mvp_multivalue_args

=head1 OPTIONS

=head2 remove_matching

This option defines a regular expression that will be used to test
prerequisites for removal. We may be specified multiple times to define
multiple expressions to test prerequisites against; a prerequisite needs to
match at least one expression to be excluded.

=head1 SEE ALSO

Please see those modules/websites for more information related to this module.

=over 4

=item *

L

=back

=head1 SOURCE

The development version is on github at L
and may be cloned from L

=head1 BUGS

Please report any bugs or feature requests on the bugtracker website
https://github.com/RsrchBoy/dist-zilla-plugin-removeprereqsmatching/issues

When submitting a bug or request, please include a test-file or a
patch to an existing test-file that illustrates the bug or desired
feature.

=head1 AUTHOR

Chris Weyl

=head1 COPYRIGHT AND LICENSE

This software is Copyright (c) 2012 by Chris Weyl.

This is free software, licensed under:

The GNU Lesser General Public License, Version 2.1, February 1999