Carlos Rosão
and 1 contributors


XML::GSA::Group - A class that represents a group in gsa xml


Version 0.07


new( $params )

Create a new XML::GSA::Group object:

    my $gsa = XML::GSA->new('records' => [], 'action' => 'add');

Arguments of this method are an anonymous hash of parameters:


An arrayref of hashrefs where each of the hashrefs represents a gsa xml record


A string that can be 'add' or 'delete' that defines what this group will do to the gsa indexer

create( $feed )

Receives an instance of XML::GSA so that when creating the group, one know to what feed will it belong. This is necessary because the type of feed influences the type of parameters acccepted by the group.


Getter or the action attribute


Getter for the xml generated by the `create` method.


Getter for the xml generated by the `create` method.


Getter for the array of groups records added to this class


Getter for the XML::Writer object used in this class to create the xml


Shemahmforash, <shemahmforash at>


Please report any bugs or feature requests to bug-xml-gsa at, or through the web interface at 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 XML::GSA

You can also look for information at:


Copyright 2013-2014 Shemahmforash.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see