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


Manual Reference Pages  -  NET::ACL::SET::SCALAR (3)

.ds Aq ’

NAME

Net::ACL::Set::Scalar - Class replacing a scalar data element

CONTENTS

SYNOPSIS



    use Net::ACL::Set::Scalar;

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

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



DESCRIPTION

This module is a very simpel array ellement replacement utility to allow simple value replacement with Net::ACL::Rule.

CONSTRUCTOR

new()


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



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>
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 NET::ACL::SET::SCALAR (3) 2003-06-06

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