1Alien::Util(3)        User Contributed Perl Documentation       Alien::Util(3)
2
3
4

NAME

6       Alien::Util - Alien Utilities used at build and runtime
7

VERSION

9       version 2.77
10

SYNOPSIS

12        use Alien::Util qw( version_cmp );
13

DESCRIPTION

15       This module contains some functions used by both the Alien::Build
16       build-time and <Alien::Base> run-time for Alien.
17
18   version_cmp
19         $cmp = version_cmp($x, $y)
20
21       Comparison method used by "atleast_version" in Alien::Base,
22       "exact_version" in Alien::Base and "max_version" in Alien::Base. May be
23       useful to implement custom comparisons, or for subclasses to overload
24       to get different version comparison semantics than the default rules,
25       for packages that have some other rules than the pkg-config behaviour.
26
27       Should return a number less than, equal to, or greater than zero;
28       similar in behaviour to the "<=>" and "cmp" operators.
29

SEE ALSO

31       Alien::Base, alienfile, Alien::Build
32

AUTHOR

34       Author: Graham Ollis <plicease@cpan.org>
35
36       Contributors:
37
38       Diab Jerius (DJERIUS)
39
40       Roy Storey (KIWIROY)
41
42       Ilya Pavlov
43
44       David Mertens (run4flat)
45
46       Mark Nunberg (mordy, mnunberg)
47
48       Christian Walde (Mithaldu)
49
50       Brian Wightman (MidLifeXis)
51
52       Zaki Mughal (zmughal)
53
54       mohawk (mohawk2, ETJ)
55
56       Vikas N Kumar (vikasnkumar)
57
58       Flavio Poletti (polettix)
59
60       Salvador Fandiño (salva)
61
62       Gianni Ceccarelli (dakkar)
63
64       Pavel Shaydo (zwon, trinitum)
65
66       Kang-min Liu (劉康民, gugod)
67
68       Nicholas Shipp (nshp)
69
70       Juan Julián Merelo Guervós (JJ)
71
72       Joel Berger (JBERGER)
73
74       Petr Písař (ppisar)
75
76       Lance Wicks (LANCEW)
77
78       Ahmad Fatoum (a3f, ATHREEF)
79
80       José Joaquín Atria (JJATRIA)
81
82       Duke Leto (LETO)
83
84       Shoichi Kaji (SKAJI)
85
86       Shawn Laffan (SLAFFAN)
87
88       Paul Evans (leonerd, PEVANS)
89
90       Håkon Hægland (hakonhagland, HAKONH)
91
92       nick nauwelaerts (INPHOBIA)
93
94       Florian Weimer
95
97       This software is copyright (c) 2011-2022 by Graham Ollis.
98
99       This is free software; you can redistribute it and/or modify it under
100       the same terms as the Perl 5 programming language system itself.
101
102
103
104perl v5.36.0                      2023-01-20                    Alien::Util(3)
Impressum