The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Net::ACL::Bootstrap - A proxy/bootstrapper 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/bootstrapper for the Net::ACL class.

It makes it possible to renew a list thats has not yet been constructed using its name and type. The list should be constructed before any method is used on this object.

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.

AUTOLOAD()

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

SEE ALSO

Net::ACL

AUTHOR

Martin Lorensen <bgp@martin.lorensen.dk>