1Alien::Build::Plugin::PUrseefrerC:o:nBtardiVbeurtAselidioenPn(e:3r:)lBuDiolcdu:m:ePnltuagtiino:n:Prefer::BadVersion(3)
2
3
4

NAME

6       Alien::Build::Plugin::Prefer::BadVersion - Plugin to filter out known
7       bad versions
8

VERSION

10       version 2.38
11

SYNOPSIS

13        use alienfile;
14        plugin 'Prefer::BadVersion' => '1.2.3';
15

DESCRIPTION

17       This plugin allows you to easily filter out known bad versions of
18       libraries in a share install.  It doesn't affect a system install at
19       all.  You need a Prefer plugin that filters and sorts files first.  You
20       may specify the filter in one of three ways:
21
22       as a string
23           Filter out any files that match the given version.
24
25            use alienfile;
26            plugin 'Prefer::BadVersion' => '1.2.3';
27
28       as an array
29           Filter out all files that match any of the given versions.
30
31            use alienfile;
32            plugin 'Prefer::BadVersion' => [ '1.2.3', '1.2.4' ];
33
34       as a code reference
35           Filter out any files return a true value.
36
37            use alienfile;
38            plugin 'Prefer::BadVersion' => sub {
39              my($file) = @_;
40              $file->{version} eq '1.2.3'; # same as the string version above
41            };
42
43       This plugin can also be used to filter out known bad versions of a
44       library on just one platform.  For example, if you know that version
45       1.2.3 if bad on windows, but okay on other platforms:
46
47        use alienfile;
48        plugin 'Prefer::BadVersion' => '1.2.3' if $^O eq 'MSWin32';
49

PROPERTIES

51   filter
52       Filter out entries that match the filter.
53

CAVEATS

55       If you are using the string or array mode, then you need an existing
56       Prefer plugin that sets the version number for each file candidate,
57       such as Alien::Build::Plugin::Prefer::SortVersions.
58
59       Unless you want to exclude the latest version from a share install,
60       this plugin isn't really that useful.  It has no effect on system
61       installs, which may not be obvious at first.
62

SEE ALSO

64       alienfile
65       Alien::Build
66       Alien::Build::Plugin::Prefer::SortVersions
67

AUTHOR

69       Author: Graham Ollis <plicease@cpan.org>
70
71       Contributors:
72
73       Diab Jerius (DJERIUS)
74
75       Roy Storey (KIWIROY)
76
77       Ilya Pavlov
78
79       David Mertens (run4flat)
80
81       Mark Nunberg (mordy, mnunberg)
82
83       Christian Walde (Mithaldu)
84
85       Brian Wightman (MidLifeXis)
86
87       Zaki Mughal (zmughal)
88
89       mohawk (mohawk2, ETJ)
90
91       Vikas N Kumar (vikasnkumar)
92
93       Flavio Poletti (polettix)
94
95       Salvador Fandiño (salva)
96
97       Gianni Ceccarelli (dakkar)
98
99       Pavel Shaydo (zwon, trinitum)
100
101       Kang-min Liu (劉康民, gugod)
102
103       Nicholas Shipp (nshp)
104
105       Juan Julián Merelo Guervós (JJ)
106
107       Joel Berger (JBERGER)
108
109       Petr Pisar (ppisar)
110
111       Lance Wicks (LANCEW)
112
113       Ahmad Fatoum (a3f, ATHREEF)
114
115       José Joaquín Atria (JJATRIA)
116
117       Duke Leto (LETO)
118
119       Shoichi Kaji (SKAJI)
120
121       Shawn Laffan (SLAFFAN)
122
123       Paul Evans (leonerd, PEVANS)
124
125       Håkon Hægland (hakonhagland, HAKONH)
126
128       This software is copyright (c) 2011-2020 by Graham Ollis.
129
130       This is free software; you can redistribute it and/or modify it under
131       the same terms as the Perl 5 programming language system itself.
132
133
134
135perl v5.32.0                      20A2l1i-e0n1:-:1B2uild::Plugin::Prefer::BadVersion(3)
Impressum