The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::ACL::Bootstrap - A proxy/bootstrap class for the Net::ACL class

SYNOPSIS

    use Net::ACL::Bootstrap;

    # Constructor
    $list = renew Net::ACL::Bootstrap(
        Name    => 'MyACL',
        Type    => 'prefix-list',
        );

DESCRIPTION

This module works as a wrapper/proxy/bootstrap for the Net::ACL class.

It makes it possible to renew() a list that has not yet been constructed using its name and type. The real list should be constructed before any method is used on this object (except name(), type() and fetch()).

CONSTRUCTOR

renew() - create a new Net::ACL::Bootstrap object:
    $list = renew Net::ACL(
        Name    => 'MyACL',
        Type    => 'prefix-list',
        );

This is the only constructor for Net::ACL::Bootstrap class. The arguments are the same as the renew() constructor of the Net::ACL class.

It either returns an existing Net::ACL object matching the arguments or a reference to the newly created Net::ACL::Bootstrap object.

ACCESSOR METHODS

fetch()

Forces the class to load the reference to the list or croak if that fails.

name()
type()

It is possible to query name and type data of the list, however, not to change them, unless the list is loaded. But only if the list can be loaded, change the name or type can be done.

AUTOLOAD()

All other methods are forwarded to the real Net::ACL object.

SEE ALSO

Net::ACL

AUTHOR

Martin Lorensen <bgp@martin.lorensen.dk>