1Alien::Build::Plugin::PUrseefrerC:o:nGtoroidbVuAetlreisdeinoP:ne:(rB3lu)iDlodc:u:mPelnutgaitni:o:nPrefer::GoodVersion(3)
2
3
4

NAME

6       Alien::Build::Plugin::Prefer::GoodVersion - Plugin to filter known good
7       versions
8

VERSION

10       version 1.55
11

SYNOPSIS

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

DESCRIPTION

17       This plugin allows you to specify one ore more good versions of a
18       library.  This plugin does the opposite of the "Prefer::BadVersion"
19       plugin.  You need need a Prefer plugin that filters and sorts files
20       first.  You may specify the filter in one of three ways:
21
22       as a string
23           Filter any files that match the given version.
24
25            use alienfile;
26            plugin 'Prefer::GoodVersion' => '1.2.3';
27
28       as a array
29           Filter all files that match any of the given versions.
30
31            use alienfile;
32            plugin 'Prefer::GoodVersion' => [ '1.2.3', '1.2.4' ];
33
34       as a code reference
35           Filter any files return a true value.
36
37            use alienfile;
38            plugin 'Prefer::GoodVersion' => 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 known good versions of a library
44       on just one platform.  For example, if you know that version 1.2.3 if
45       good on windows, but the default logic is fine on other platforms:
46
47        use alienfile;
48        plugin 'Prefer::GoodVersion' => '1.2.3' if $^O eq 'MSWin32';
49

PROPERTIES

51   filter
52       Filter 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

SEE ALSO

60       alienfile
61       Alien::Build
62       Alien::Build::Plugin::Prefer::SortVersions
63

AUTHOR

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