Package: perl-Perl-Version (1.013-bp156.3.1)
Parse and manipulate Perl version strings
Perl::Version provides a simple interface for parsing, manipulating and formatting Perl version strings. Unlike version.pm (which concentrates on parsing and comparing version strings) Perl::Version is designed for cases where you'd like to parse a version, modify it and get back the modified version formatted like the original. For example: my $version = Perl::Version->new( '1.2.3' ); $version->inc_version; print "$version\n"; prints 1.3.0 whereas my $version = Perl::Version->new( 'v1.02.03' ); $version->inc_version; print "$version\n"; prints v1.03.00 Both are representations of the same version and they'd compare equal but their formatting is different. Perl::Version tries hard to guess and recreate the format of the original version and in most cases it succeeds. In rare cases the formatting is ambiguous. Consider 1.10.03 Do you suppose that second component '10' is zero padded like the third component? Perl::Version will assume that it is: my $version = Perl::Version->new( '1.10.03' ); $version->inc_revision; print "$version\n"; will print 2.00.00 If all of the components after the first are the same length (two characters in this case) and any of them begins with a zero Perl::Version will assume that they're all zero padded to the same length. The first component and any alpha suffix are handled separately. In each case if either of them starts with a zero they will be zero padded to the same length when stringifying the version.
Package information
- Homepage
- [http://search.cpan.org/dist/Perl-Version/]
- License
- Artistic-1.0 or GPL-1.0+
- Downstream package maintainer
- Unknown: not reported in the indexed source
- Source package
- [perl-Perl-Version]
- Software project
- [perl-Perl-Version]
Versions and downloads for perl-Perl-Version
| Version / release | Architecture / repository | Package size | Installed size | Files | Publisher repository artifact |
|---|---|---|---|---|---|
| 1.013-bp156.3.1leap-15.6 / oss | noarchopenSUSE Leap 15.6 · OSS · multi-architecture | 36 KiB | 73 KiB | list of files | perl-Perl-Version-1.013-bp156.3.1.noarch.rpm |
About these downloads
Each row is recorded package-index metadata for one version, architecture, suite, and repository. Names, URLs, and sizes are source-reported; a link is a potentially mutable retrieval location, not an OpenFactory redistribution claim or proof that OpenFactory retained the artifact bytes.
Dependencies and recommendations for perl-Perl-Version
dep: /usr/bin/perl
Package not available
dep: perl(:MODULE_COMPAT_5.26.1)
Package not available
dep: perl(File::Slurp::Tiny)
Package not available
Package file paths (12)
Paths come from the repository package-file index for the observed builds. They describe archive/package associations, not every file that will exist on a running system after maintainer scripts, alternatives, generated state, diversions, or installation choices.
- /usr/bin/perl-reversion
- /usr/lib/perl5/vendor_perl/5.26.1/Perl
- /usr/lib/perl5/vendor_perl/5.26.1/Perl/Version.pm
- /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
- /usr/share/doc/packages/perl-Perl-Version
- /usr/share/doc/packages/perl-Perl-Version/Changes
- /usr/share/doc/packages/perl-Perl-Version/examples
- /usr/share/doc/packages/perl-Perl-Version/examples/perl-reversion
- /usr/share/doc/packages/perl-Perl-Version/Notes.txt
- /usr/share/doc/packages/perl-Perl-Version/README
- /usr/share/man/man1/perl-reversion.1.gz
- /usr/share/man/man3/Perl::Version.3pm.gz
Field source: openSUSE Leap 15.6 OSS
