Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

perl-Perl-Version-1.013-bp156.3.1 RPM for noarch

From OpenSuSE Leap 15.6 for noarch

Name: perl-Perl-Version Distribution: SUSE Linux Enterprise 15 SP6
Version: 1.013 Vendor: openSUSE
Release: bp156.3.1 Build date: Sat Jul 22 11:25:16 2023
Group: Development/Libraries/Perl Build host: goat41
Size: 74966 Source RPM: perl-Perl-Version-1.013-bp156.3.1.src.rpm
Packager: https://bugs.opensuse.org
Url: http://search.cpan.org/dist/Perl-Version/
Summary: 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.

Provides

Requires

License

Artistic-1.0 or GPL-1.0+

Changelog

* Mon Mar 17 2014 coolo@suse.com
  - updated to 1.013
    Remove File::Slurp, which has a critical security issue (RT 92974)
* Mon May 16 2011 coolo@opensuse.org
  - updated to 1.011
* Fri Jan 14 2011 coolo@novell.com
  - initial package 1.010
    * created by cpanspec 1.78.03

Files

/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/Notes.txt
/usr/share/doc/packages/perl-Perl-Version/README
/usr/share/doc/packages/perl-Perl-Version/examples
/usr/share/doc/packages/perl-Perl-Version/examples/perl-reversion
/usr/share/man/man1/perl-reversion.1.gz
/usr/share/man/man3/Perl::Version.3pm.gz


Generated by rpm2html 1.8.1

Fabrice Bellet, Fri Apr 26 23:30:45 2024