Martin Lorensen > Net-ACL > Net::ACL::Set::Union

Download:
Net-ACL-0.07.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.07   Source  

NAME ^

Net::ACL::Set::Union - Class updating array references doing unions

SYNOPSIS ^

    use Net::ACL::Set::Union;

    # Construction
    my $set = new Net::ACL::Set::Union(1,[42,45]);

    # Accessor Methods
    @data = $set->set(@data);

DESCRIPTION ^

This module is a list manipulator, which can replace a list with the union of the list and another list. It is used with Net::ACL::Rule.

CONSTRUCTOR ^

new() - Construct a new Net::ACL::Set::Union object
    my $set = new Net::ACL::Set::Union(1,[42,45]);

This is the constructor for Net::ACL::Set::Scalar objects. It returns a reference to the newly created object.

It takes one argument. If the argument is an array reference with one element, the element will be placed instead of the first argument to the set method.

If an array reference has more then one element, the second element should be the argument number to be replaced in the set method.

Otherwise, the value will directly be used instead of the first argument of the set method.

ACCESSOR METHODS ^

set()

This function modifies the arguments according to the arguments of the constructor and returns them.

SEE ALSO ^

Net::ACL::Set, Net::ACL::Rule, Net::ACL

AUTHOR ^

Martin Lorensen <bgp@martin.lorensen.dk>

syntax highlighting: