GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Net::ACL::Set::Add(3) User Contributed Perl Documentation Net::ACL::Set::Add(3)

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

    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;

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.

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.

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

Net::ACL::Set, Net::ACL::Set::Scalar, Net::ACL

Martin Lorensen <bgp@martin.lorensen.dk>
2003-06-06 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.