URI::V...e::Util(3pm)
π¦ URI::VersionRange::Util β the manual page, but make it cute
okay so bestie, gather round, because this one is URI::V...e::Util(3pm) from the User Contributed Perl Documentation, and it's literally the little helper module that does the behind-the-scenes magic for URI::VersionRange. no cap.
β¨ NAME β¨
URI::VersionRange::Util β the utility squad for URI::VersionRange π
πΈ SYNOPSIS πΈ
use URI::VersionRange::Util qw(native_range_to_vers);
$vers = native_range_to_vers('npm', '~1.6.5 || >=1.7.2'); # vers:npm/>=1.6.5|<1.7.0|>=1.7.2
π DESCRIPTION π
URL::VersionRange::Util is the utility package for URL::VersionRange.
(it's giving support-system energy, and honestly? obsessed.)
$string = native_range_to_vers($scheme, $native_range)β takes that native range string you handed it and hands you back the matching VERS string. conversion arc, main character moment.
$vers = native_range_to_vers('npm', '~1.6.5 || >=1.7.2'); # vers:npm/>=1.6.5|<1.7.0|>=1.7.2
these are the native range schemes it's got your back on, fr fr:
conangemnginxnpmnugetrakusemver
for any other scheme, native_range_to_vers will still try to convert the native range string into a VERS string, but ngl it may not work perfectly. it's doing its best π
π Version compare utility π
$int = version_compare($scheme, $a, $b)
$int = generic_version_compare($a, $b)
$int = semver_version_compare($a, $b)
π§ Semver utility π§
$string = hash_to_semver(%hash)
$bool = is_semver($string)
$string = normalize_semver($string)
%hash = parse_semver($string)
π«Ά SUPPORT π«Ά
π Bugs / Feature Requests π
found a bug? need a feature? please report any bugs or feature requests through the issue tracker at <https://github.com/giterlizzi/perl-URI-PackageURL/issues>. you'll get notified automatically about any progress on your issue, so you're never left on read. π
π¦ Source Code π¦
this is open source software, bestie. the code repository is right there for public review and contribution under the terms of the license.
<https://github.com/giterlizzi/perl-URI-PackageURL>
git clone https://github.com/giterlizzi/perl-URI-PackageURL.git
π AUTHOR π
- Giuseppe Di Terlizzi <gdt@cpan.org>
π LICENSE AND COPYRIGHT π
this software is copyright (c) 2022-2026 by Giuseppe Di Terlizzi.
it's free software β you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. iconic behavior, honestly.
and that's the whole page, periodt πβ¨ππ¦
cute little sign-off: this was rendered from perl v5.40.1, dated 2026-01-31, and yes the page title really is URI::V...e::Util(3pm) β she's mysterious, she's abbreviated, she ate. πΈπ«Ά
π¦ where this page comes from
- ubuntu resolute: liburi-packageurl-perl 2.25-1 Β· Artistic-2.0
- ubuntu stonking: liburi-packageurl-perl 2.25-1 Β· Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms