Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Net::ACL::Set::Add(3) User Contributed Perl DocumentationNet::ACL::Set::Add(3)

NAME
       Net::ACL::Set::Add - Class adding a value to a data element

SYNOPSIS
	   use Net::ACL::Set::Add;

	   # Construction
	   my $set = new Net::ACL::Set::Add(42,1);

	   # Accessor Methods
	   @data = $set->set(@data); # same as:	$data[1] += 42;

DESCRIPTION
       This module is a	very simple array element addition utility to allow
       simple value addition with Net::ACL::Rule. Note that using overloading
       of the "+=" operator, complex operation can be executed for objects.

CONSTRUCTOR
       new()
	       my $set = new Net::ACL::Set::Add(42,1);

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

	   The first argument is the argument number to	set that should	be
	   modified.  The second argument are the value	added the the element.

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::Set::Scalar, Net::ACL

AUTHOR
       Martin Lorensen <bgp@martin.lorensen.dk>

perl v5.32.0			  2003-06-06		 Net::ACL::Set::Add(3)

NAME | SYNOPSIS | DESCRIPTION | CONSTRUCTOR | ACCESSOR METHODS | SEE ALSO | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Net::ACL::Set::Add&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help