CPANPLUS::Dist::Gentoo::Atom - Gentoo atom object.
Version 0.12
This class models Gentoo atoms.
new category => $category, name => $name [, version => $version, range => $range, ebuild => $ebuild ]
Creates a new CPANPLUS::Dist::Gentoo::Atom object from the supplied $category, $name, $version, $range and $ebuild.
$category
$name
$version
$range
$ebuild
new_from_ebuild $ebuild
Creates a new CPANPLUS::Dist::Gentoo::Atom object by inferring the category, name and version from the given $ebuild
category
Read-only accessor to the atom category.
name
Read-only accessor to the atom name.
version
Read-only accessor to the CPANPLUS::Dist::Gentoo::Version object associated with the atom.
range
Read-only accessor to the atom range.
ebuild
Read-only accessor to the path of an optional ebuild associated with the atom.
qualified_name
Returns the qualified name for the atom, i.e. $category/$name.
$category/$name
and @atoms
Compute the ranged atom representing the logical AND between @atoms with the same category and name.
@atoms
fold @atoms
Returns a list built from @atoms but where there's only one atom for a given category and name.
This class provides overloaded methods for numerical comparison, string comparison and stringification.
CPANPLUS::Dist::Gentoo, CPANPLUS::Dist::Gentoo::Version.
Vincent Pit, <perl at profvince.com>, http://www.profvince.com.
<perl at profvince.com>
You can contact me by mail or on irc.perl.org (vincent).
irc.perl.org
Please report any bugs or feature requests to bug-cpanplus-dist-gentoo at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=CPANPLUS-Dist-Gentoo. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-cpanplus-dist-gentoo at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc CPANPLUS::Dist::Gentoo
Copyright 2009,2010,2011,2012 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.
To install CPANPLUS::Dist::Gentoo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CPANPLUS::Dist::Gentoo
CPAN shell
perl -MCPAN -e shell install CPANPLUS::Dist::Gentoo
For more information on module installation, please visit the detailed CPAN module installation guide.