| ALPM documentation | view source | Contained in the ALPM distribution. |
ALPM::Group - ALPM package group class.
use ALPM qw(/etc/pacman.conf);
for $grp ( ALPM->localdb->groups ) {
print $grp->name(), "\n",
map { " - $_\n" } map { $_->name } $grp->packages;
}
$NAME = $group_obj->name()
None
$NAMEThe name of the group.
@PKGS = $group_obj->pkgs() @PKGS = $group_obj->packages()
None
@PKGSA list of ALPM::Package objects who are in the group.
Copyright (C) 2011 by Justin Davis
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.
| ALPM documentation | view source | Contained in the ALPM distribution. |