Fedora::VSP(3)
π Fedora::VSP β the Perl manual page, but make it a group chat π
okay so bestie, this is Fedora::VSP(3), a User Contributed Perl Documentation page, and it's literally about making Perl version strings behave for RPM. Let me tell you everything π
β¨ NAME β¨
Fedora::VSP β Perl version normalization for RPM. that's it, that's the whole vibe π¦
πΈ DESCRIPTION πΈ
okay so this module hands you functions for normalizing Perl version strings for Red Hat Package (RPM) based Linux distributions. slay.
here's the tea: RPM's version format and semantics is similar to Perl version strings (vX.Y.Z). but to exactly? no bestie. the older Perl fraction version format (X.YZ) is incompatible with RPM π
so this whole thing is an effort to map Perl version strings to RPM version strings. that's the mission. that's the main character energy. π
π₯ FUNCTIONS π₯
β vsp(STRING, SHORT)
Convert a version value into version string format. the output value is stripped from the leading v symbol. bye v, we don't know her π
if conversion fails, undef will be returned. no cap.
empty or undefined string will be normalized to undef. literally nothing in, nothing out π«Ά
if SHORT is true, the returned version string will be shortened by cutting trailing zero groups. and listen β if no digit would remain, undef will be returned. π this feature ephases brevity. it's giving minimalism, it's giving less-is-more, it's giving SHORT mode β¨
π AUTHOR π
Petr PΓsaΕ <ppisar@redhat.com>
π COPYING π
Copyright (C) 2015 Petr PΓsaΕ <ppisar@redhat.com>
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
and that's the whole page bestie, no notes π
ngl the licensing paragraph is doing the most, but we respect the legalese. it's iconic in its own way π
alright so this was Fedora::VSP(3), perl v5.32.1, dated 2021-08-09 β shoutout to the perl toolchain, and remember: normalize your versions, hydrate, and stan undef handling ππ§π
π¦ where this page comes from
- centos-stream 9: perl-Fedora-VSP 0.001-23.el9 Β· GPLv3+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms