Alien::Util(3)
β¨ NAME β¨
okay bestie, meet Alien::Util - Alien Utilities used at build and runtime. This is the Alien::Util(3) page, hanging out in User Contributed Perl Documentation, and it's giving small but crucial helper module energy. π
π¦ VERSION π¦
version 2.88 β slay, that's the one. β¨
π SYNOPSIS π
okay so the whole import vibe is literally:
use Alien::Util qw( version_cmp );
πΈ DESCRIPTION πΈ
This module contains some functions used by both the Alien::Build build-time and <Alien::Base> run-time for Alien. Lowkey iconic, highkey useful. π«Ά
π version_cmp π
$cmp = version_cmp($x, $y)
This is the comparison method used by "atleast_version" in Alien::Base, "exact_version" in Alien::Base, and "max_version" in Alien::Base. It may be useful to implement custom comparisons, or for subclasses to overload to get different version comparison semantics than the default rules β for packages that have some other rules than the pkg-config behaviour. No cap. π§
It should return a number less than, equal to, or greater than zero; similar in behaviour to the <=> and cmp operators.
π SEE ALSO π
Alien::BasealienfileAlien::Build
π AUTHOR π
Author: Graham Ollis <plicease@cpan.org>
Contributors:
- Diab Jerius (DJERIUS)
- Roy Storey (KIWIROY)
- Ilya Pavlov
- David Mertens (run4flat)
- Mark Nunberg (mordy, mnunberg)
- Christian Walde (Mithaldu)
- Brian Wightman (MidLifeXis)
- Zaki Mughal (zmughal)
- mohawk (mohawk2, ETJ)
- Vikas N Kumar (vikasnkumar)
- Flavio Poletti (polettix)
- Salvador FandiΓ±o (salva)
- Gianni Ceccarelli (dakkar)
- Pavel Shaydo (zwon, trinitum)
- Kang-min Liu (εεΊ·ζ°, gugod)
- Nicholas Shipp (nshp)
- Juan JuliΓ‘n Merelo GuervΓ³s (JJ)
- Joel Berger (JBERGER)
- Petr PΓsaΕ (ppisar)
- Lance Wicks (LANCEW)
- Ahmad Fatoum (a3f, ATHREEF)
- JosΓ© JoaquΓn Atria (JJATRIA)
- Duke Leto (LETO)
- Shoichi Kaji (SKAJI)
- Shawn Laffan (SLAFFAN)
- Paul Evans (leonerd, PEVANS)
- HΓ₯kon HΓ¦gland (hakonhagland, HAKONH)
- nick nauwelaerts (INPHOBIA)
- Florian Weimer
- Marcel Telka (mtelka)
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2011-2022 by Graham Ollis.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Okay, that's the whole page, bestie β this cutie comes from perl v5.42.2, dated 2026-09-20, and it's Alien::Util(3) π
π¦ where this page comes from
- arch rolling: perl-alien-build 2.88-1 Β· Artistic-1.0-Perl AND GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms