Net::ACL::Set - Abstract parent class of Set-classes
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);
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.
- 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.
- 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.
Net::ACL::Rule, Net::ACL, Net::ACL::Set::Scalar, Net::ACL::Set::Union,
Net::ACL::Set::Add
Martin Lorensen <bgp@martin.lorensen.dk>