NAME

PortageXS::Version - Gentoo version object

VERSION

version 0.3.1

DESCRIPTION

This class models Gentoo versions as described in http://devmanual.gentoo.org/ebuild-writing/file-format/index.html.

This specific class is a deviation of CPANPLUS::Dist::Gentoo::Version

METHODS

new $vstring

Creates a new PortageXS::Version object from the version string $vstring.

version

Read-only accessor for the version part of the version object.

letter

Read-only accessor for the letter part of the version object.

suffixes

Read-only accessor for the suffixes part of the version object.

revision

Read-only accessor for the revision part of the version object.

This class provides overloaded methods for numerical comparison and stringification.

SEE ALSO

PortageXS.

AUTHOR

Vincent Pit, <perl at profvince.com>, http://www.profvince.com.

You can contact me by mail or on irc.perl.org (vincent).

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc PortageXS

COPYRIGHT & LICENSE

Copyright 2009,2010,2011 Vincent Pit, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHORS

  • Christian Hartmann <ian@gentoo.org>

  • Torsten Veller <tove@gentoo.org>

  • Kent Fredric <kentnl@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2013 by Christian Hartmann.

This is free software, licensed under:

The GNU General Public License, Version 2, June 1991