NAME
Net::ACL::Set - Abstract parent class of Set-classes
SYNOPSIS
package Net::ACL::SetMyPackage;
use Net::ACL::Set;
@ISA = qw( Net::ACL::Set );
sub new { ... };
sub set { ... };
package main;
# Construction
my $set = new Net::ACL::SetMyPackage($args);
# Accessor Methods
@data = $set->set(@data);
DESCRIPTION
This is an abstract parent class for all Net::ACL::Set* classes. It is used by the Net::ACL::Rule object.
It only has a constructor new() and a method set(). Both should be replaced in any ancestor object.
CONSTRUCTOR
- 4 new() - Constructor of Net::ACL::Set* objects
-
my $set = new Net::ACL::SetMyPackage($args);
This is the constructor for Net::ACL::Set::* objects. It returns a reference to the newly created object. It takes one argument, which should describe what to set.
ACCESSOR METHODS
- set()
-
This function should modify the data given as arguments (one or more) with the data passed to the constructor and return the modified data.
SEE ALSO
Net::ACL::Rule, Net::ACL, Net::ACL::Set::Scalar, Net::ACL::Set::Union, Net::ACL::Set::Add
AUTHOR
Martin Lorensen <bgp@martin.lorensen.dk>