Filewatcher File Search File Search
Catalog
Content Search
» » » » »

libsort-versions-perl

Perl module for sorting of revision (and similar) numbers

This is the CPAN Perl module Sort::Versions.

This module allows easy sorting (via comparisons) of mixed text and numeric strings, similar to the complex "version numbers" that many revision control packages and shared library systems use. For an explanation of the algorithm, it's easiest to look at these examples:

1.1 < 1.2 1.1a < 1.2 1.1 < 1.1.1 1.1 < 1.1a 1.1.a < 1.1a 1 < a a < b 1 < 2

(special handling for leading zeros) 0002 < 1 1.06 < 1.5

(a hyphen binds looser than a period) 1-1 < 1-2 1-2 < 1.2

Homepage: http://search.cpan.org/~edavis/Sort-Versions/

Homepage:-
Package version:1.5-3
Architecture:all
Distribution:Debian
Filename:libsort-versions-perl_1.5-3_all.deb

/usr/share/doc/libsort-versions-perl/README

 Sort::Versions - a perl 5 module for sorting of revision (and similar)
 numbers

This module allows easy sorting (via comparisons) of mixed text and numeric
strings, similar to the complex "version numbers" that many revision control
packages and shared library systems use. For an explanation of the
algorithm, it's easiest to look at these examples:

  1.1   <  1.2
  1.1a  <  1.2
  1.1   <  1.1.
more»

/usr/share/man/man3/Sort::Versions.3pm.gz

Versions(3pm)    User Contributed Perl Documentation   Versions(3pm)



NAME
       Sort::Versions - a perl 5 module for sorting of revision-like
       numbers

SYNOPSIS
               use Sort::Versions;
               @l = sort { versioncmp($a, $b) } qw( 1.2 1.2.0 1.2a.0 1.2.a 1.a 02.a );

               ...

               use Sort::Versions;
               print 'lower' if versioncmp('1.2', '
more»

/usr/share/doc/libsort-versions-perl/changelog.Debian.gz

libsort-versions-perl (1.5-3) unstable; urgency=low

  * New maintainer (Closes: #344456).
  * Moved all build-dep-indep packages to build-dep if they are needed in the
    clean target.
  * Removed build-dependency to libtest-simple-perl. It's a core module.

 -- Florian Ragwitz <rafl@debian.org>  Fri, 10 Feb 2006 20:42:03 +0100

libsort-versions-perl (1.5-2) unstable; urgency=low

  * New mainta
more»

/usr/share/doc/libsort-versions-perl/changelog.gz

2003-08-24 23:58  ed

	* README, Versions.pm: Version 1.5.

2003-08-24 23:57  ed

	* mkdist: Changed
more»

/usr/share/doc/libsort-versions-perl/copyright

This package was debianized by Kenneth J. Pronovici <pronovic@debian.org> on
Sun,  6 Oct 2002 14:34:
more»

Browse inside libsort-versions-perl_1.5-3_all.deb

         [DIR]DEBIAN/ (2)  65535+ mirrors
         [DIR]usr/ (1)  65535+ mirrors

Download libsort-versions-perl_1.5-3_all.deb

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2016 FileWatcher.com