Debian Codegraph @

README

raw
1 NAME
2 Version::Compare - Compare version strings
3
4 VERSION
5 version 0.14
6
7 SYNOPSIS
8 use Version::Compare;
9
10 if(&Version::Compare::version_compare('2.6.26','2.6.0') == 1) {
11 print "2.6.26 is greater than 2.6.0\n";
12 }
13
14 NAME
15 Version::Compare - Comparing version strings
16
17 SUBROUTINES/METHODS
18 max
19 Return the bigger of the two numerical values
20
21 version_compare
22 Compare two unix-style version strings like 2.6.23.1 and 2.6.33 and
23 return and sort-like return code (1 => LHS bigger, 0 => equal, -1 => RHS
24 bigger)
25
26 0.0 < 0.5 < 0.10 < 0.99 < 1 < 1.0~rc1 < 1.0 < 1.0+b1 < 1.0+nmu1 < 1.1 <
27 2.0
28
29 cmp
30 See version_compare.
31
32 AUTHOR
33 Dominik Schulz, "<dominik.schulz at gauner.org>"
34
35 BUGS
36 Please report any bugs or feature requests to "bug-version-compare at
37 rt.cpan.org", or through the web interface at
38 <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Version-Compare>. I will
39 be notified, and then you'll automatically be notified of progress on
40 your bug as I make changes.
41
42 SUPPORT
43 You can find documentation for this module with the perldoc command.
44
45 perldoc Version::Compare
46
47 You can also look for information at:
48
49 * RT: CPAN's request tracker
50
51 <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Version-Compare>
52
53 * AnnoCPAN: Annotated CPAN documentation
54
55 <http://annocpan.org/dist/Version-Compare>
56
57 * CPAN Ratings
58
59 <http://cpanratings.perl.org/d/Version-Compare>
60
61 * Search CPAN
62
63 <http://search.cpan.org/dist/Version-Compare/>
64
65 LICENSE AND COPYRIGHT
66 Copyright 2012 Dominik Schulz
67
68 This program is free software; you can redistribute it and/or modify it
69 under the terms of either: the GNU General Public License as published
70 by the Free Software Foundation; or the Artistic License.
71
72 See http://dev.perl.org/licenses/ for more information.
73
74 AUTHOR
75 Dominik Schulz <[email protected]>
76
77 COPYRIGHT AND LICENSE
78 This software is copyright (c) 2012 by Dominik Schulz.
79
80 This is free software; you can redistribute it and/or modify it under
81 the same terms as the Perl 5 programming language system itself.
82