| CPANPLUS-Dist-Gentoo documentation | view source | Contained in the CPANPLUS-Dist-Gentoo distribution. |
CPANPLUS::Dist::Gentoo::Atom - Gentoo atom object.
Version 0.11
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.
new_from_ebuild $ebuildCreates a new CPANPLUS::Dist::Gentoo::Atom object by inferring the category, name and version from the given $ebuild
categoryRead-only accessor to the atom category.
nameRead-only accessor to the atom name.
versionRead-only accessor to the CPANPLUS::Dist::Gentoo::Version object associated with the atom.
rangeRead-only accessor to the atom range.
ebuildRead-only accessor to the path of an optional ebuild associated with the atom.
qualified_nameReturns the qualified name for the atom, i.e. $category/$name.
and @atomsCompute the ranged atom representing the logical AND between @atoms with the same category and name.
fold @atomsReturns 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 strigification.
Vincent Pit, <perl at profvince.com>, http://www.profvince.com.
You can contact me by mail or on irc.perl.org (vincent).
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.
You can find documentation for this module with the perldoc command.
perldoc CPANPLUS::Dist::Gentoo
Copyright 2009,2010 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.
| CPANPLUS-Dist-Gentoo documentation | view source | Contained in the CPANPLUS-Dist-Gentoo distribution. |