NAME

ALPM::Group - ALPM package group class.

SYNOPSIS

use ALPM qw(/etc/pacman.conf);

for $grp ( ALPM->localdb->groups ) {
    print $grp->name(), "\n",
      map { " - $_\n" } map { $_->name } $grp->packages;
}

METHODS

name

$NAME = $group_obj->name()

Parameters

None

Returns

$NAME

The name of the group.

pkgs = packages

@PKGS = $group_obj->pkgs()
@PKGS = $group_obj->packages()

Parameters

None

Returns

@PKGS

A list of ALPM::Package objects who are in the group.

SEE ALSO

ALPM::DB

COPYRIGHT AND LICENSE

Copyright (C) 2010 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.